about summary refs log tree commit diff
path: root/src/nix-copy-closure
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2017-03-16T13·19+0100
committerEelco Dolstra <edolstra@gmail.com>2017-03-16T13·19+0100
commit287084d688c3316d5840a9a7b5b2dff29b3dda94 (patch)
tree84c37315daebbb822fbfd210f46c35d011ee21f8 /src/nix-copy-closure
parentc5b83d8913d73ea58ff9437c41bf6bd0c6839ad0 (diff)
ssh:// -> ssh-ng://, legacy-ssh:// -> ssh://
Diffstat (limited to 'src/nix-copy-closure')
-rwxr-xr-xsrc/nix-copy-closure/nix-copy-closure.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix-copy-closure/nix-copy-closure.cc b/src/nix-copy-closure/nix-copy-closure.cc
index ab80d96b5efd..ed43bffbc8c8 100755
--- a/src/nix-copy-closure/nix-copy-closure.cc
+++ b/src/nix-copy-closure/nix-copy-closure.cc
@@ -47,7 +47,7 @@ int main(int argc, char ** argv)
         if (sshHost.empty())
             throw UsageError("no host name specified");
 
-        auto remoteUri = "legacy-ssh://" + sshHost + (gzip ? "?compress=true" : "");
+        auto remoteUri = "ssh://" + sshHost + (gzip ? "?compress=true" : "");
         auto to = toMode ? openStore(remoteUri) : openStore();
         auto from = toMode ? openStore() : openStore(remoteUri);