about summary refs log tree commit diff
path: root/perl
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@viric.name>2013-05-01T18·44+0400
committerEelco Dolstra <eelco.dolstra@logicblox.com>2013-05-03T09·08+0200
commite6c44d166a63abe95a02382386246acea8757951 (patch)
tree1b1f5adc9cd5d905b9db674066bf12ddb449b194 /perl
parent7391533ea57268a7f0aab433dad41b905e156be6 (diff)
Fixing the pv position regarding compression
Problem noticed by niksnut.
Diffstat (limited to 'perl')
-rw-r--r--perl/lib/Nix/CopyClosure.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl/lib/Nix/CopyClosure.pm b/perl/lib/Nix/CopyClosure.pm
index 3dcf5cb2d2..41ceabd858 100644
--- a/perl/lib/Nix/CopyClosure.pm
+++ b/perl/lib/Nix/CopyClosure.pm
@@ -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: $?";
         }