diff --git a/flake.nix b/flake.nix index 8adbb28..606b57a 100644 --- a/flake.nix +++ b/flake.nix @@ -22,10 +22,10 @@ CARGO_INSTALL_ROOT = "${toString ./.}/.cargo"; buildInputs = with pkgs; [ cargo rustc git + udev alsa-lib vulkan-loader xorg.libX11 xorg.libXcursor xorg.libXi xorg.libXrandr # To use the x11 feature libxkbcommon wayland # To use the wayland feature - renderdoc ]; nativeBuildInputs = [ pkgs.pkg-config ]; }; diff --git a/shell.nix b/shell.nix index 8f65030..0971857 100644 --- a/shell.nix +++ b/shell.nix @@ -12,6 +12,7 @@ mkShell rec { xorg.libX11 xorg.libXcursor xorg.libXi xorg.libXrandr # To use the x11 feature libxkbcommon wayland # To use the wayland feature renderdoc + wayland ]; LD_LIBRARY_PATH = lib.makeLibraryPath buildInputs; } \ No newline at end of file