about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2017-03-16T09·58+0100
committerEelco Dolstra <edolstra@gmail.com>2017-03-16T09·58+0100
commit7a716ef2a5759506e602f3ceaaadc42edbf6d12f (patch)
treebf7b0623cc3f9d2e25cea6a4c4cc389b0a84c41b /src
parent0ec7f47b00659cf043eb7fbe72385a08f7e9f8e2 (diff)
Fix nix-copy-closure --to
Diffstat (limited to 'src')
-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 4a2ac42f31c3..d804b27c1c8b 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());