3
0
Fork 0
forked from mirrors/nixpkgs

nixos-generate-config: lower priority of nix.maxJobs

Fixes #6429.

(cherry picked from commit 5c04313451)
This commit is contained in:
Vladimír Čunát 2016-04-12 08:09:01 +02:00
parent 4b667665c2
commit 4ffe3f9593

View file

@ -474,7 +474,7 @@ my $hwConfig = <<EOF;
boot.kernelModules = [$kernelModules ];
boot.extraModulePackages = [$modulePackages ];
$fsAndSwap
nix.maxJobs = $cpus;
nix.maxJobs = lib.mkDefault $cpus;
${\join "", (map { " $_\n" } (uniq @attrs))}}
EOF