about summary refs log tree commit diff
path: root/src/libstore
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2012-07-31T21·56-0400
committerEelco Dolstra <eelco.dolstra@logicblox.com>2012-07-31T21·56-0400
commit89a8207029e7f6d5cfe3ab972c49ea46f5b9a784 (patch)
treef924e15d0fc6ec21a1f26376e6ca95141b08d9ba /src/libstore
parent97421eb5ecde86b75441094fda017b12b5eca2a6 (diff)
Add an option ‘build-fallback’ (equivalent to the --fallback flag)
Diffstat (limited to 'src/libstore')
-rw-r--r--src/libstore/globals.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstore/globals.cc b/src/libstore/globals.cc
index 7dc2e714bc9d..f5f4f15f011f 100644
--- a/src/libstore/globals.cc
+++ b/src/libstore/globals.cc
@@ -118,9 +118,10 @@ void Settings::set(const string & name, const string & value)
 
 void Settings::update()
 {
-    get(thisSystem, "system");
+    get(tryFallback, "build-fallback");
     get(maxBuildJobs, "build-max-jobs");
     get(buildCores, "build-cores");
+    get(thisSystem, "system");
     get(maxSilentTime, "build-max-silent-time");
     get(buildTimeout, "build-timeout");
     get(reservedSize, "gc-reserved-space");