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:
commit
6f4682ad36
11 changed files with 97 additions and 113 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue