git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #50440 from Mic92/nix-cores

nixos/nix-daemon: default to build with all cores available

commit5835b2796e245daf00c569b78d3230dd0bcf4c11 authorEelco Dolstra <edolstra@gmail.com> dateFri 16 Nov 2018, 09:13 (8 years ago) parentdb0abe9ced57f7
1 file changed+2−2
nixos/modules/services/misc/nix-daemon.nix+2−2
nixos/modules/services/misc/nix-daemon.nix+2−2
@@ -117,11 +117,11 @@ in
117117
118118 buildCores = mkOption {
119119 type = types.int;
120− default = 1;
120+ default = 0;
121121 example = 64;
122122 description = ''
123123 This option defines the maximum number of concurrent tasks during
124− one build. It affects, e.g., -j option for make. The default is 1.
124+ one build. It affects, e.g., -j option for make.
125125 The special value 0 means that the builder should use all
126126 available CPU cores in the system. Some builds may become
127127 non-deterministic with this option; use with care! Packages will