about summary refs log tree commit diff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/nix-copy-closure.in3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/nix-copy-closure.in b/scripts/nix-copy-closure.in
index 3dde6e1574ad..6964f2d47b33 100755
--- a/scripts/nix-copy-closure.in
+++ b/scripts/nix-copy-closure.in
@@ -41,8 +41,7 @@ while (@ARGV) {
         $sign = 1;
     }
     elsif ($arg eq "--gzip") {
-        $compressor = "gzip";
-        $decompressor = "gzip -d";
+        push @globalSshOpts, "-C";
     }
     elsif ($arg eq "--bzip2") {
         $compressor = "bzip2";