From 7a375cf3c0c3622426c9338e53948937e37b0808 Mon Sep 17 00:00:00 2001 From: griffi-gh Date: Thu, 7 Nov 2024 19:18:15 +0100 Subject: [PATCH] fix flake --- flake.nix | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index a76cfbe..791b3f6 100644 --- a/flake.nix +++ b/flake.nix @@ -25,7 +25,7 @@ pkgs.stdenvAdapters.useMoldLinker pkgs.clangStdenv else pkgs.clangStdenv; - } rec { + } { packages = with pkgs; [ (fenix.packages.${system}.complete.withComponents [ "cargo" @@ -56,7 +56,20 @@ udev openssl ]; - LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath buildInputs; + LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath (with pkgs; [ + libGL + glslang + vulkan-tools + vulkan-headers + vulkan-loader + wayland + xorg.libX11 + xorg.libXcursor + xorg.libXi + xorg.libXrandr + xorg.libxcb + libxkbcommon + ]); RUSTFLAGS = "-Zthreads=8"; }; }