about summary refs log tree commit diff
path: root/src/libstore/globals.cc
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2012-07-31T22·19-0400
committerEelco Dolstra <eelco.dolstra@logicblox.com>2012-07-31T22·19-0400
commit90d9c58d4dabb370849cd523fb9ee471e8140b76 (patch)
treecaa1ed9ad85e20106df6ad2ab396e46524953b37 /src/libstore/globals.cc
parent89a8207029e7f6d5cfe3ab972c49ea46f5b9a784 (diff)
Pass all --option flags to the daemon
Diffstat (limited to 'src/libstore/globals.cc')
-rw-r--r--src/libstore/globals.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/libstore/globals.cc b/src/libstore/globals.cc
index f5f4f15f011f..bfb40a07a237 100644
--- a/src/libstore/globals.cc
+++ b/src/libstore/globals.cc
@@ -113,6 +113,7 @@ void Settings::loadConfFile()
 void Settings::set(const string & name, const string & value)
 {
     settings[name] = value;
+    overrides[name] = value;
 }
 
 
@@ -193,4 +194,10 @@ string Settings::pack()
 }
 
 
+Settings::SettingsMap Settings::getOverrides()
+{
+    return overrides;
+}
+
+
 }