[Nix] use fastStdenv for rebuilding Nix

This commit is contained in:
Antoine Viallon 2024-12-11 12:26:12 +01:00
parent 59a4deb6c6
commit 87f76d3a60
Signed by: aviallon
GPG key ID: 186FC35EDEB25716

View file

@ -85,7 +85,7 @@ in
};
nix.package = optimizePkg { level = "slower"; } pkgs.nixVersions.latest;
nix.package = optimizePkg { stdenv = pkgs.fastStdenv; level = "slower"; } pkgs.nixVersions.latest;
nix.settings.system-features = [ "big-parallel" "kvm" "benchmark" ]
++ optional ( ! isNull generalCfg.cpu.arch ) "gccarch-${generalCfg.cpu.arch}"