about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDomen Kožar <domen@dev.si>2018-08-29T13·33+0100
committerGitHub <noreply@github.com>2018-08-29T13·33+0100
commitd16ff76c69318c4ef04b1dcc873a72910b8eca49 (patch)
tree94e4943b508d434186a561a287158aee913f337b
parent20d74a3257c89ab9d5c1cac15fbe2b2aa4d73450 (diff)
nix.conf: clarify -j0 doesn't affect preferLocalBuild
-rw-r--r--doc/manual/command-ref/conf-file.xml4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/manual/command-ref/conf-file.xml b/doc/manual/command-ref/conf-file.xml
index 3851cf18d7ff..6a23b8f1fda4 100644
--- a/doc/manual/command-ref/conf-file.xml
+++ b/doc/manual/command-ref/conf-file.xml
@@ -438,7 +438,9 @@ builtins.fetchurl {
     that Nix will try to build in parallel.  The default is
     <literal>1</literal>. The special value <literal>auto</literal>
     causes Nix to use the number of CPUs in your system.  <literal>0</literal>
-    is useful when using remote builders to prevent any local builds.  It can be
+    is useful when using remote builders to prevent any local builds (except for
+    <literal>preferLocalBuild</literal> derivation attribute which executes locally
+    regardless).  It can be
     overridden using the <option
     linkend='opt-max-jobs'>--max-jobs</option> (<option>-j</option>)
     command line switch.</para></listitem>