diff options
author | Lluís Batlle i Rossell <viric@viric.name> | 2013-05-01T18·44+0400 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-05-03T09·08+0200 |
commit | e6c44d166a63abe95a02382386246acea8757951 (patch) | |
tree | 1b1f5adc9cd5d905b9db674066bf12ddb449b194 /scripts/nix-copy-closure.in | |
parent | 7391533ea57268a7f0aab433dad41b905e156be6 (diff) |
Fixing the pv position regarding compression
Problem noticed by niksnut.
Diffstat (limited to 'scripts/nix-copy-closure.in')
-rwxr-xr-x | scripts/nix-copy-closure.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/nix-copy-closure.in b/scripts/nix-copy-closure.in index fa7082f327f7..9536ee84d89b 100755 --- a/scripts/nix-copy-closure.in +++ b/scripts/nix-copy-closure.in @@ -121,7 +121,7 @@ else { # Copy FROM the remote machine. $decompressor = "$decompressor |" if $decompressor ne ""; $progressViewer = "$progressViewer -s $missingSize |" if $progressViewer ne ""; my $extraOpts = $sign ? "--sign" : ""; - system("set -f; ssh $sshHost @sshOpts 'nix-store --export $extraOpts @missing $compressor' | $progressViewer $decompressor $Nix::Config::binDir/nix-store --import > /dev/null") == 0 + system("set -f; ssh $sshHost @sshOpts 'nix-store --export $extraOpts @missing $compressor' | $decompressor $progressViewer $Nix::Config::binDir/nix-store --import > /dev/null") == 0 or die "copying store paths from remote machine `$sshHost' failed: $?"; } } |