diff options
Diffstat (limited to 'shell.nix')
-rw-r--r-- | shell.nix | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..5214dde --- /dev/null +++ b/shell.nix @@ -0,0 +1,21 @@ +{ pkgs ? import (import ./nix/sources.nix).nixpkgs { } }: +let inherit (pkgs) lib; in +pkgs.mkShell rec { + nativeBuildInputs = [ + pkgs.cargo + pkgs.pkg-config + pkgs.rustc + ]; + buildInputs = [ + pkgs.alsa-lib + pkgs.libxkbcommon + pkgs.udev + pkgs.vulkan-loader + pkgs.wayland + pkgs.xorg.libX11 + pkgs.xorg.libXcursor + pkgs.xorg.libXi + pkgs.xorg.libXrandr + ]; + LD_LIBRARY_PATH = lib.makeLibraryPath buildInputs; +} |