From d5ac78e0d6f21dc60bd4f4f3990a18dc2bc12c4c Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 23 Nov 2011 15:29:58 +0000 Subject: [PATCH] * Add bzip2 and xz support to nix-copy-closure. --- doc/manual/nix-copy-closure.xml | 11 ++++++++--- scripts/nix-copy-closure.in | 10 +++++++++- 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/doc/manual/nix-copy-closure.xml b/doc/manual/nix-copy-closure.xml index 584e713f1..3f2f12320 100644 --- a/doc/manual/nix-copy-closure.xml +++ b/doc/manual/nix-copy-closure.xml @@ -24,6 +24,8 @@ + + user@machine @@ -96,10 +98,13 @@ those paths. If this bothers you, use - + / / - Compress the dump of each path with - gzip before sending it. + Compress the dump of each path with respectively + gzip, bzip2 or + xz before sending it. The corresponding + decompression program must be installed on the target + machine. diff --git a/scripts/nix-copy-closure.in b/scripts/nix-copy-closure.in index 2eac56e3f..9191de59e 100755 --- a/scripts/nix-copy-closure.in +++ b/scripts/nix-copy-closure.in @@ -8,7 +8,7 @@ use Nix::CopyClosure; if (scalar @ARGV < 1) { print STDERR <