fix flake

This commit is contained in:
griffi-gh 2024-11-07 19:18:15 +01:00
parent ced9705910
commit 7a375cf3c0

View file

@ -25,7 +25,7 @@
pkgs.stdenvAdapters.useMoldLinker pkgs.clangStdenv pkgs.stdenvAdapters.useMoldLinker pkgs.clangStdenv
else else
pkgs.clangStdenv; pkgs.clangStdenv;
} rec { } {
packages = with pkgs; [ packages = with pkgs; [
(fenix.packages.${system}.complete.withComponents [ (fenix.packages.${system}.complete.withComponents [
"cargo" "cargo"
@ -56,7 +56,20 @@
udev udev
openssl 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"; RUSTFLAGS = "-Zthreads=8";
}; };
} }