aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRenzo Carbonara <gnuk0001@gmail.com>2018-01-09 22:40:07 +0100
committerRenzo Carbonara <gnuk0001@gmail.com>2018-01-09 22:40:07 +0100
commitb0328c244dd15da9e45f4e95d900c81fe0c47dda (patch)
tree2105096d5bbc526e1cf61884ede031fa85e5d30c /doc
parent3cd0704387eb10c4104ba06309ed38a6670b5660 (diff)
nix.conf: builders-use-substitutes
Fixes #937
Diffstat (limited to 'doc')
-rw-r--r--doc/manual/command-ref/conf-file.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/manual/command-ref/conf-file.xml b/doc/manual/command-ref/conf-file.xml
index 87f05fb1c..2ddca991f 100644
--- a/doc/manual/command-ref/conf-file.xml
+++ b/doc/manual/command-ref/conf-file.xml
@@ -321,6 +321,20 @@ false</literal>.</para>
</varlistentry>
+ <varlistentry><term><literal>builders-use-substitutes</literal></term>
+
+ <listitem><para>If set to <literal>true</literal>, Nix will instruct
+ remote build machines to use their own binary substitutes if available. In
+ practical terms, this means that remote hosts will fetch as many build
+ dependencies as possible from their own substitutes (e.g, from
+ <literal>cache.nixos.org</literal>), instead of waiting for this host to
+ upload them all. This can drastically reduce build times if the network
+ connection between this computer and the remote build host is slow. Defaults
+ to <literal>false</literal>.</para></listitem>
+
+ </varlistentry>
+
+
<varlistentry><term><literal>fallback</literal></term>
<listitem><para>If set to <literal>true</literal>, Nix will fall