about summary refs log tree commit diff
path: root/scripts/nix-copy-closure.in
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-07-10T12·15+0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-07-10T12·15+0200
commit1114c7bd57bcab16255d5db5e6f66ae8dece7b1e (patch)
tree59c96d86ae08301382bbc93f1fea282b43d79df8 /scripts/nix-copy-closure.in
parent7911e4c27a0020a61ace13cfdc44de4af02f315e (diff)
nix-copy-closure: Restore compression and the progress viewer
Diffstat (limited to 'scripts/nix-copy-closure.in')
-rwxr-xr-xscripts/nix-copy-closure.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/nix-copy-closure.in b/scripts/nix-copy-closure.in
index 23d5619519a4..abd3760fc138 100755
--- a/scripts/nix-copy-closure.in
+++ b/scripts/nix-copy-closure.in
@@ -42,11 +42,11 @@ while (@ARGV) {
     }
     elsif ($arg eq "--gzip") {
         $compressor = "gzip";
-        $decompressor = "gunzip";
+        $decompressor = "gzip -d";
     }
     elsif ($arg eq "--bzip2") {
         $compressor = "bzip2";
-        $decompressor = "bunzip2";
+        $decompressor = "bzip2 -d";
     }
     elsif ($arg eq "--xz") {
         $compressor = "xz";