Fix nix-copy-closure --to

This commit is contained in:
Eelco Dolstra 2017-03-16 10:58:48 +01:00
parent 0ec7f47b00
commit 7a716ef2a5
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE

View file

@ -45,7 +45,7 @@ struct LegacySSHStore : public Store
ref<Connection> openConnection()
{
auto conn = make_ref<Connection>();
conn->sshConn = master.startCommand("nix-store --serve");
conn->sshConn = master.startCommand("nix-store --serve --write");
conn->to = FdSink(conn->sshConn->in.get());
conn->from = FdSource(conn->sshConn->out.get());