about summary refs log tree commit diff
path: root/src/libstore/globals.hh
diff options
context:
space:
mode:
authorRenzo Carbonara <gnuk0001@gmail.com>2018-01-09T21·40+0100
committerRenzo Carbonara <gnuk0001@gmail.com>2018-01-09T21·40+0100
commitb0328c244dd15da9e45f4e95d900c81fe0c47dda (patch)
tree2105096d5bbc526e1cf61884ede031fa85e5d30c /src/libstore/globals.hh
parent3cd0704387eb10c4104ba06309ed38a6670b5660 (diff)
nix.conf: builders-use-substitutes
Fixes #937
Diffstat (limited to 'src/libstore/globals.hh')
-rw-r--r--src/libstore/globals.hh5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libstore/globals.hh b/src/libstore/globals.hh
index ae4b78a018..af72f7b1e3 100644
--- a/src/libstore/globals.hh
+++ b/src/libstore/globals.hh
@@ -138,6 +138,11 @@ public:
     Setting<std::string> builders{this, "@" + nixConfDir + "/machines", "builders",
         "A semicolon-separated list of build machines, in the format of nix.machines."};
 
+    Setting<bool> buildersUseSubstitutes{this, false, "builders-use-substitutes",
+        "Whether build machines should use their own substitutes for obtaining "
+        "build dependencies if possible, rather than waiting for this host to "
+        "upload them."};
+
     Setting<off_t> reservedSize{this, 8 * 1024 * 1024, "gc-reserved-space",
         "Amount of reserved disk space for the garbage collector."};