aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLudovic Courtès <ludovic.courtes@inria.fr>2019-05-21 14:33:51 +0200
committerLudovic Courtès <ludo@gnu.org>2019-05-22 00:09:41 +0200
commitfd214f1522063905021a297dab1ac4d85d94ad83 (patch)
tree473c4fec2a8d40de2326dda81871c7fa62425068 /doc
parent6acf6cec7d74d2e288e275429e8362bfb04b0286 (diff)
downloadpatches-fd214f1522063905021a297dab1ac4d85d94ad83.tar
patches-fd214f1522063905021a297dab1ac4d85d94ad83.tar.gz
pack: Add '--root'.
* guix/scripts/pack.scm (%options, show-help): Add "--root". (guix-pack): Honor it. * tests/guix-pack.sh: Test it. * doc/guix.texi (Invoking guix pack): Document it.
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index ae9ad0739e..873eaba490 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -4927,6 +4927,12 @@ is an infinity of channel URLs and commit IDs that can lead to the same pack.
Recording such ``silent'' metadata in the output thus potentially breaks the
source-to-binary bitwise reproducibility property.
+@item --root=@var{file}
+@itemx -r @var{file}
+@cindex garbage collector root, for packs
+Make @var{file} a symlink to the resulting pack, and register it as a garbage
+collector root.
+
@item --localstatedir
@itemx --profile-name=@var{name}
Include the ``local state directory'', @file{/var/guix}, in the resulting