From 90ea7c8b924f949026f41eea87cecc6d3523c99c Mon Sep 17 00:00:00 2001 From: nek0 Date: Sun, 21 Apr 2024 18:56:37 +0200 Subject: [PATCH] complete flake --- flake.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 ]; }; });