upd flake

This commit is contained in:
griffi-gh 2024-09-01 12:32:20 +02:00
parent 1e88b78fa4
commit 8dd32031ce

View file

@ -20,7 +20,9 @@
fenix,
...
}: yafas.allSystems nixpkgs ({ pkgs, system }: {
devShells.default = pkgs.mkShell rec {
devShells.default = pkgs.mkShell.override {
stdenv = pkgs.stdenvAdapters.useMoldLinker pkgs.clangStdenv;
} rec {
buildInputs = with pkgs; [
(fenix.packages.${system}.complete.withComponents [
"cargo"
@ -48,6 +50,7 @@
udev
];
LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath buildInputs;
RUSTFLAGS = "-Zthreads=8";
};
}
);