summary refs log tree commit diff
path: root/nixos/modules
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2018-11-16 09:13:44 +0100
committerGitHub <noreply@github.com>2018-11-16 09:13:44 +0100
commit5835b2796e245daf00c569b78d3230dd0bcf4c11 (patch)
treec9ce408ed9897f5a6508ec831c66dea4b73081fd /nixos/modules
parentdb0abe98bfa7adad39912edad44743de030f8300 (diff)
parentced57f7888c9244f3e07e4b08462aeb64acd8c66 (diff)
downloadnixpkgs-5835b2796e245daf00c569b78d3230dd0bcf4c11.tar
nixpkgs-5835b2796e245daf00c569b78d3230dd0bcf4c11.tar.gz
nixpkgs-5835b2796e245daf00c569b78d3230dd0bcf4c11.tar.bz2
nixpkgs-5835b2796e245daf00c569b78d3230dd0bcf4c11.tar.lz
nixpkgs-5835b2796e245daf00c569b78d3230dd0bcf4c11.tar.xz
nixpkgs-5835b2796e245daf00c569b78d3230dd0bcf4c11.tar.zst
nixpkgs-5835b2796e245daf00c569b78d3230dd0bcf4c11.zip
Merge pull request #50440 from Mic92/nix-cores
nixos/nix-daemon: default to build with all cores available
Diffstat (limited to 'nixos/modules')
-rw-r--r--nixos/modules/services/misc/nix-daemon.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/misc/nix-daemon.nix b/nixos/modules/services/misc/nix-daemon.nix
index 97357557061..9a8116a03e8 100644
--- a/nixos/modules/services/misc/nix-daemon.nix
+++ b/nixos/modules/services/misc/nix-daemon.nix
@@ -117,11 +117,11 @@ in
 
       buildCores = mkOption {
         type = types.int;
-        default = 1;
+        default = 0;
         example = 64;
         description = ''
           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
           available CPU cores in the system. Some builds may become
           non-deterministic with this option; use with care! Packages will