about summary refs log tree commit diff
path: root/src/libstore
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2018-01-04T15·57+0100
committerEelco Dolstra <edolstra@gmail.com>2018-01-04T15·58+0100
commit44272d87193e6ab17d15501ebdcd317cdd39f616 (patch)
treed0e6aa18d9e8f9bb6c937cc0283b9f6cdf4cce1d /src/libstore
parent1b851ae8f6332fb7a5c966a90b0cd3119af3d51d (diff)
Rename "use-substitutes" to "substitute"
Commit c2154d4c8422ddc1c201d503bb52edff854af2ad renamed
"build-use-substitutes" to "use-substitutes", but that broke
"nix-copy-closure --use-substitutes".
Diffstat (limited to 'src/libstore')
-rw-r--r--src/libstore/globals.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/globals.hh b/src/libstore/globals.hh
index 5c857cbb6a9c..ae4b78a018e0 100644
--- a/src/libstore/globals.hh
+++ b/src/libstore/globals.hh
@@ -150,7 +150,7 @@ public:
     Setting<bool> syncBeforeRegistering{this, false, "sync-before-registering",
         "Whether to call sync() before registering a path as valid."};
 
-    Setting<bool> useSubstitutes{this, true, "use-substitutes",
+    Setting<bool> useSubstitutes{this, true, "substitute",
         "Whether to use substitutes.",
         {"build-use-substitutes"}};