summary refs log tree commit diff
path: root/nix/libstore/globals.hh
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-09-17 15:18:13 +0200
committerLudovic Courtès <ludo@gnu.org>2015-05-11 17:32:30 +0200
commit55939b1a4b34b904eedba90ac6c14efc6258f40d (patch)
treeb048df770f6a4e27596f910092ff526d89006cb4 /nix/libstore/globals.hh
parent6621195e48f8e0cbbe6e19dbcde30bd8a7da0399 (diff)
downloadguix-55939b1a4b34b904eedba90ac6c14efc6258f40d.tar.gz
Settings: Add bool get()
Diffstat (limited to 'nix/libstore/globals.hh')
-rw-r--r--nix/libstore/globals.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/nix/libstore/globals.hh b/nix/libstore/globals.hh
index 55f082e56e..c17e10d7c3 100644
--- a/nix/libstore/globals.hh
+++ b/nix/libstore/globals.hh
@@ -25,6 +25,8 @@ struct Settings {
 
     Strings get(const string & name, const Strings & def);
 
+    bool get(const string & name, bool def);
+
     void update();
 
     string pack();