aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/legacy-ssh-store.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2017-03-16 10:58:48 +0100
committerEelco Dolstra <edolstra@gmail.com>2017-03-16 10:58:48 +0100
commit7a716ef2a5759506e602f3ceaaadc42edbf6d12f (patch)
treebf7b0623cc3f9d2e25cea6a4c4cc389b0a84c41b /src/libstore/legacy-ssh-store.cc
parent0ec7f47b00659cf043eb7fbe72385a08f7e9f8e2 (diff)
Fix nix-copy-closure --to
Diffstat (limited to 'src/libstore/legacy-ssh-store.cc')
-rw-r--r--src/libstore/legacy-ssh-store.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/legacy-ssh-store.cc b/src/libstore/legacy-ssh-store.cc
index 4a2ac42f3..d804b27c1 100644
--- a/src/libstore/legacy-ssh-store.cc
+++ b/src/libstore/legacy-ssh-store.cc
@@ -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());