1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-27 08:31:16 +02:00

build-remote: Don't use a SSH master

This is unnecessary because we make only one connection.
This commit is contained in:
Eelco Dolstra 2017-03-03 19:23:20 +01:00
parent d140c75530
commit d3eb1cf3bb
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE
3 changed files with 9 additions and 1 deletions

View file

@ -708,7 +708,11 @@ ref<Store> openStore(const std::string & uri_)
}
uri = uri_.substr(0, q);
}
return openStore(uri, params);
}
ref<Store> openStore(const std::string & uri, const Store::Params & params)
{
for (auto fun : *RegisterStoreImplementation::implementations) {
auto store = fun(uri, params);
if (store) return ref<Store>(store);