aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorzimoun <zimon.toutoune@gmail.com>2020-01-15 18:00:02 +0100
committerPierre Neidhardt <mail@ambrevar.xyz>2020-01-16 15:27:24 +0100
commit2d4688c1ea64f07866ffe976391d7ec3d371f6b5 (patch)
treef948470d665ace52a5d9e2884e8b5698762b478b /doc
parentee9a735bc8f544cf8eedc6c6a7e4ed2962663013 (diff)
downloadguix-2d4688c1ea64f07866ffe976391d7ec3d371f6b5.tar
guix-2d4688c1ea64f07866ffe976391d7ec3d371f6b5.tar.gz
size: Add '--load-path' option.
* guix/scripts/size.scm (%option): Add '--load-path' option. * doc/guix.texi: Document it.
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index a490a09a46..cbaca4acdb 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -9838,6 +9838,13 @@ the case, @command{guix size} fails as it tries to load it.
@itemx -s @var{system}
Consider packages for @var{system}---e.g., @code{x86_64-linux}.
+@item --load-path=@var{directory}
+@itemx -L @var{directory}
+Add @var{directory} to the front of the package module search path
+(@pxref{Package Modules}).
+
+This allows users to define their own packages and make them visible to
+the command-line tools.
@end table
@node Invoking guix graph