Merge pull request #50440 from Mic92/nix-cores
nixos/nix-daemon: default to build with all cores available
This commit is contained in:
commit
5835b2796e
@ -117,11 +117,11 @@ in
|
|||||||
|
|
||||||
buildCores = mkOption {
|
buildCores = mkOption {
|
||||||
type = types.int;
|
type = types.int;
|
||||||
default = 1;
|
default = 0;
|
||||||
example = 64;
|
example = 64;
|
||||||
description = ''
|
description = ''
|
||||||
This option defines the maximum number of concurrent tasks during
|
This option defines the maximum number of concurrent tasks during
|
||||||
one build. It affects, e.g., -j option for make. The default is 1.
|
one build. It affects, e.g., -j option for make.
|
||||||
The special value 0 means that the builder should use all
|
The special value 0 means that the builder should use all
|
||||||
available CPU cores in the system. Some builds may become
|
available CPU cores in the system. Some builds may become
|
||||||
non-deterministic with this option; use with care! Packages will
|
non-deterministic with this option; use with care! Packages will
|
||||||
|
Loading…
x
Reference in New Issue
Block a user