summary refs log tree commit diff
path: root/perl
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2012-03-05 20:52:24 +0100
committerEelco Dolstra <e.dolstra@tudelft.nl>2012-03-05 20:52:24 +0100
commitd645633643ff806bff8fcd1677d6ac87509f40e9 (patch)
tree8adf171709ef0a291ca2a7c641410053a27a0499 /perl
parent35355fc1fcffbe859395e360c0a6a1463f137d63 (diff)
downloadguix-d645633643ff806bff8fcd1677d6ac87509f40e9.tar.gz
nix-copy-closure: don't print copied path on stdout
We're already printing progress on stderr, so printing them on stdout
afterwards is kind of useless.
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 7a711766ba..08573b2ab1 100644
--- a/perl/lib/Nix/CopyClosure.pm
+++ b/perl/lib/Nix/CopyClosure.pm
@@ -34,7 +34,7 @@ sub copyTo {
     if (scalar @missing > 0) {
         print STDERR "copying ", scalar @missing, " missing paths to ‘$sshHost’...\n";
         unless ($dryRun) {
-            open SSH, "| $compressor ssh $sshHost @{$sshOpts} '$decompressor nix-store --import'" or die;
+            open SSH, "| $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: $?";
         }