Skip to content

Commit fa7fd76

Browse files
committed
nix-copy: fix examples
maybe a left-over from nix-store -r ?
1 parent 4e44025 commit fa7fd76

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/nix/copy.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,15 +57,15 @@ struct CmdCopy : StorePathsCommand
5757
return {
5858
Example{
5959
"To copy Firefox from the local store to a binary cache in file:///tmp/cache:",
60-
"nix copy --to file:///tmp/cache -r $(type -p firefox)"
60+
"nix copy --to file:///tmp/cache $(type -p firefox)"
6161
},
6262
Example{
6363
"To copy the entire current NixOS system closure to another machine via SSH:",
64-
"nix copy --to ssh://server -r /run/current-system"
64+
"nix copy --to ssh://server /run/current-system"
6565
},
6666
Example{
6767
"To copy a closure from another machine via SSH:",
68-
"nix copy --from ssh://server -r /nix/store/a6cnl93nk1wxnq84brbbwr6hxw9gp2w9-blender-2.79-rc2"
68+
"nix copy --from ssh://server /nix/store/a6cnl93nk1wxnq84brbbwr6hxw9gp2w9-blender-2.79-rc2"
6969
},
7070
};
7171
}

0 commit comments

Comments
 (0)