nix-copy-closure: Implement --gzip via ssh's -C flag

This commit is contained in:
Eelco Dolstra 2014-07-24 16:32:55 +02:00
parent 17ef234672
commit 7f7d4ab686

View file

@ -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";