about summary refs log tree commit diff
path: root/src/libstore/globals.cc
diff options
context:
space:
mode:
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;
+}
+
+
 }