1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-25 06:31:14 +02:00

Fixing the pv position regarding compression

Problem noticed by niksnut.
This commit is contained in:
Lluís Batlle i Rossell 2013-05-01 22:44:37 +04:00 committed by Eelco Dolstra
parent 7391533ea5
commit e6c44d166a
2 changed files with 2 additions and 2 deletions

View file

@ -46,7 +46,7 @@ sub copyTo {
if (scalar @missing > 0) {
print STDERR "copying ", scalar @missing, " missing paths to $sshHost...\n";
unless ($dryRun) {
open SSH, "| $compressor $progressViewer ssh $sshHost @{$sshOpts} '$decompressor nix-store --import' > /dev/null" or die;
open SSH, "| $progressViewer $compressor ssh $sshHost @{$sshOpts} '$decompressor nix-store --import' > /dev/null" or die;
exportPaths(fileno(SSH), $sign, @missing);
close SSH or die "copying store paths to remote machine `$sshHost' failed: $?";
}