about summary refs log tree commit diff
path: root/src/libstore/globals.hh
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-07-25T16·02+0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-07-25T16·02+0200
commit67937907ca7e90bc8fe3019d3c4d6436a8eba7ed (patch)
tree0a06763ab72b6bb6704675ee6a35d001a29b2dc1 /src/libstore/globals.hh
parent71a20d4d95ad40060857d5da6b813f437267fbb2 (diff)
nix-daemon: Pass on the user's $SSH_AUTH_SOCK to the SSH substituter
Diffstat (limited to 'src/libstore/globals.hh')
-rw-r--r--src/libstore/globals.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstore/globals.hh b/src/libstore/globals.hh
index f1748336fdac..d16969c9e010 100644
--- a/src/libstore/globals.hh
+++ b/src/libstore/globals.hh
@@ -21,6 +21,8 @@ struct Settings {
 
     void set(const string & name, const string & value);
 
+    string get(const string & name, const string & def = "");
+
     void update();
 
     string pack();