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 <