nix.conf: clarify -j0 doesn't affect preferLocalBuild

This commit is contained in:
Domen Kožar 2018-08-29 14:33:14 +01:00 committed by GitHub
parent 20d74a3257
commit d16ff76c69
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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>