summary refs log tree commit diff
path: root/doc/guix.texi
diff options
context:
space:
mode:
authorzimoun <zimon.toutoune@gmail.com>2019-12-04 19:06:31 +0100
committerLudovic Courtès <ludo@gnu.org>2019-12-08 23:14:03 +0100
commit7282f9496793227d7ac6f902976aecb663068ec1 (patch)
tree42bdc9d0c1fb22255d4d262b12de92ec7ec01657 /doc/guix.texi
parentd9b4022c6fd6844e42aaa503d3118bf3e3a0a441 (diff)
downloadguix-7282f9496793227d7ac6f902976aecb663068ec1.tar.gz
lint: Add '--load-path' option.
* guix/scripts/lint.scm (%options): Add '--load-path' option.
* doc/guix.texi: Document it.
* tests/guix-lint.sh: Test it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'doc/guix.texi')
-rw-r--r--doc/guix.texi8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index 446534c576..d6c84e949d 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -9676,6 +9676,14 @@ and exit.
 Only enable the checkers specified in a comma-separated list using the
 names returned by @code{--list-checkers}.
 
+@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 size