1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-29 23:13:14 +02:00

nix-daemon: Pass on the user's $SSH_AUTH_SOCK to the SSH substituter

This commit is contained in:
Eelco Dolstra 2014-07-25 18:02:48 +02:00
parent 71a20d4d95
commit 67937907ca
4 changed files with 17 additions and 0 deletions

View file

@ -122,6 +122,14 @@ void Settings::set(const string & name, const string & value)
}
string Settings::get(const string & name, const string & def)
{
auto i = settings.find(name);
if (i == settings.end()) return def;
return i->second;
}
void Settings::update()
{
get(tryFallback, "build-fallback");