diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-07-24T14·32+0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-07-24T14·32+0200 |
commit | 7f7d4ab68649b2f5530143e8cfa95fc785ae9937 (patch) | |
tree | 917c281a7940678e20ae4d012b6325845c0c8b1c /scripts/nix-copy-closure.in | |
parent | 17ef2346723b96080cc912da646df4f6424e83fa (diff) |
nix-copy-closure: Implement --gzip via ssh's -C flag
Diffstat (limited to 'scripts/nix-copy-closure.in')
-rwxr-xr-x | scripts/nix-copy-closure.in | 3 |
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"; |