diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/nix-copy-closure.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/nix-copy-closure.in b/scripts/nix-copy-closure.in index 875ca9817529..97ee88adc44e 100755 --- a/scripts/nix-copy-closure.in +++ b/scripts/nix-copy-closure.in @@ -74,13 +74,13 @@ die "$0: you did not specify a host name\n" unless defined $sshHost; if ($toMode) { # Copy TO the remote machine. Nix::CopyClosure::copyTo( - $sshHost, [ @sshOpts ], [ @storePaths ], + $sshHost, [ @storePaths ], $includeOutputs, $dryRun, $sign, $useSubstitutes); } else { # Copy FROM the remote machine. - my ($from, $to) = connectToRemoteNix($sshHost, [ @sshOpts ]); + my ($from, $to) = connectToRemoteNix($sshHost); # Query the closure of the given store paths on the remote # machine. Paths are assumed to be store paths; there is no |