summary refs log tree commit diff
path: root/nixos/modules/services/misc/nix-daemon.nix
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2015-01-05 15:38:08 +0100
committerPeter Simons <simons@cryp.to>2015-01-05 15:38:08 +0100
commitea94a6d653317cafba6c257c44c52489c170d910 (patch)
tree0594e28f513ae41a1562afd889cd96edf20715dc /nixos/modules/services/misc/nix-daemon.nix
parent956054094028e636f1301380fc5f806269c6e828 (diff)
downloadnixpkgs-ea94a6d653317cafba6c257c44c52489c170d910.tar
nixpkgs-ea94a6d653317cafba6c257c44c52489c170d910.tar.gz
nixpkgs-ea94a6d653317cafba6c257c44c52489c170d910.tar.bz2
nixpkgs-ea94a6d653317cafba6c257c44c52489c170d910.tar.lz
nixpkgs-ea94a6d653317cafba6c257c44c52489c170d910.tar.xz
nixpkgs-ea94a6d653317cafba6c257c44c52489c170d910.tar.zst
nixpkgs-ea94a6d653317cafba6c257c44c52489c170d910.zip
nixos/modules/services/misc/nix-daemon.nix: document meaning of '0' for the buildCores attribute
Diffstat (limited to 'nixos/modules/services/misc/nix-daemon.nix')
-rw-r--r--nixos/modules/services/misc/nix-daemon.nix7
1 files changed, 4 insertions, 3 deletions
diff --git a/nixos/modules/services/misc/nix-daemon.nix b/nixos/modules/services/misc/nix-daemon.nix
index e9aa1018178..e2548864af5 100644
--- a/nixos/modules/services/misc/nix-daemon.nix
+++ b/nixos/modules/services/misc/nix-daemon.nix
@@ -82,9 +82,10 @@ in
         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.
-          Some builds may become non-deterministic with this option; use with
-          care! Packages will only be affected if enableParallelBuilding is
-          set for them.
+          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
+          only be affected if enableParallelBuilding is set for them.
         '';
       };