summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorzimoun <zimon.toutoune@gmail.com>2020-01-15 18:00:04 +0100
committerPierre Neidhardt <mail@ambrevar.xyz>2020-01-16 15:27:24 +0100
commit3c8396b578fe1b2efa942785e92a433c5f712b5d (patch)
tree5330a86c98540cb8cfb07958b4ef11a567c2285f /doc
parent21f4fbdd8453e489fb89825c4226a0a0bda2bc17 (diff)
downloadpatches-3c8396b578fe1b2efa942785e92a433c5f712b5d.tar
patches-3c8396b578fe1b2efa942785e92a433c5f712b5d.tar.gz
edit: Add '--load-path' option.
* guix/scripts/edit.scm (%option): Add '--load-path' option. * doc/guix.texi: Document it.
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index a05ea17cda..87ad1212bf 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -8706,6 +8706,10 @@ have created your own packages on @code{GUIX_PACKAGE_PATH}
recipes. In other cases, you will be able to examine the read-only recipes
for packages currently in the store.
+Instead of @code{GUIX_PACKAGE_PATH}, the command-line option
+@code{--load-path=@var{directory}} (or in short @code{-L
+@var{directory}}) allows you to add @var{directory} to the front of the
+package module search path and so make your own packages visible.
@node Invoking guix download
@section Invoking @command{guix download}