diff --git a/flake.nix b/flake.nix index 6df0f35..adb3cda 100644 --- a/flake.nix +++ b/flake.nix @@ -47,6 +47,10 @@ packages.${crateName} = project.rootCrate.build; defaultPackage = packages.${crateName}; devShell = pkgs.mkShell { + shellHook = ''export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${pkgs.lib.makeLibraryPath (with pkgs; [ + vulkan-loader + libxkbcommon + ])}"''; inputsFrom = builtins.attrValues self.packages.${system}; buildInputs = with pkgs; [ cargo @@ -55,6 +59,12 @@ pkg-config alsa-lib.dev systemd.dev + + # X11 libs + xorg.libX11 + xorg.libXcursor + xorg.libXi + xorg.libXrandr ]; }; });