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

Merge branch 'nix-copy-closure-c++' of https://github.com/shlevy/nix

This commit is contained in:
Eelco Dolstra 2017-02-07 20:47:45 +01:00
commit 6f4682ad36
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE
11 changed files with 97 additions and 113 deletions

View file

@ -41,6 +41,8 @@ private:
string host;
Path key;
bool compress;
};
SSHStore::SSHStore(string host, const Params & params, size_t maxConnections)
@ -50,6 +52,7 @@ SSHStore::SSHStore(string host, const Params & params, size_t maxConnections)
, socketPath((Path) tmpDir + "/ssh.sock")
, host(std::move(host))
, key(get(params, "ssh-key", ""))
, compress(get(params, "compress", "") == "true")
{
/* open a connection and perform the handshake to verify all is well */
connections->get();