about summary refs log tree commit diff
path: root/doc/manual/nix-unpack-closure.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/manual/nix-unpack-closure.xml')
-rw-r--r--doc/manual/nix-unpack-closure.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/manual/nix-unpack-closure.xml b/doc/manual/nix-unpack-closure.xml
index 7c6d12d089a4..e95225e819a0 100644
--- a/doc/manual/nix-unpack-closure.xml
+++ b/doc/manual/nix-unpack-closure.xml
@@ -22,6 +22,12 @@ closure is a single file read from standard input.  See the
 description of <command>nix-pack-closure</command> for details and
 examples.</para>
 
+<para>The top-level paths in the closure (i.e., the paths passed to
+the original <command>nix-pack-closure</command> call that created the
+closure) are printed on standard output.  These paths can be passed,
+for instance, to <literal>nix-env -i</literal> to install them into a
+user environment on the target machine.</para>
+
 </refsection>