summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorzimoun <zimon.toutoune@gmail.com>2020-01-15 18:00:05 +0100
committerPierre Neidhardt <mail@ambrevar.xyz>2020-01-16 15:27:24 +0100
commite8728862a15abd58702ff4be05440298c0734e57 (patch)
tree97576d74da53926cdd113f7b88c61b27dfdc8d82 /doc
parent3c8396b578fe1b2efa942785e92a433c5f712b5d (diff)
downloadpatches-e8728862a15abd58702ff4be05440298c0734e57.tar
patches-e8728862a15abd58702ff4be05440298c0734e57.tar.gz
repl: Add '--load-path' option.
* guix/scripts/repl.scm (%option): Add '--load-path' option. * doc/guix.texi: Document it.
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index 87ad1212bf..788a2a7d4f 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -7996,6 +7996,14 @@ Accept connections on localhost on port 37146.
@item --listen=unix:/tmp/socket
Accept connections on the Unix-domain socket @file{/tmp/socket}.
@end table
+
+@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 tool.
@end table
@c *********************************************************************