summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-10-06 23:35:50 +0200
committerLudovic Courtès <ludo@gnu.org>2015-10-06 23:51:04 +0200
commit38e16b49073dd9ea81c3320a84708c4b4d7c60e6 (patch)
tree67bb4c7f74fbe85c1741b8365392ad9bf90bc409 /doc
parent72c62716befc0e428125ad4a0f784d2217d153bc (diff)
downloadpatches-38e16b49073dd9ea81c3320a84708c4b4d7c60e6.tar
patches-38e16b49073dd9ea81c3320a84708c4b4d7c60e6.tar.gz
doc: Clarify how to run 'guix refresh -u'.
* doc/guix.texi (Invoking guix refresh): Mention ./pre-inst-env.
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi11
1 files changed, 9 insertions, 2 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index 6a3765f56a..6da7281566 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -4132,7 +4132,14 @@ The following options are supported:
@item --update
@itemx -u
-Update distribution source files (package recipes) in place.
+Update distribution source files (package recipes) in place. This is
+usually run from a checkout of the Guix source tree (@pxref{Running
+Guix Before It Is Installed}):
+
+@example
+$ ./pre-inst-env guix refresh -s non-core
+@end example
+
@xref{Defining Packages}, for more information on package definitions.
@item --select=[@var{subset}]
@@ -4157,7 +4164,7 @@ In addition, @command{guix refresh} can be passed one or more package
names, as in this example:
@example
-guix refresh -u emacs idutils gcc-4.8.4
+$ ./pre-inst-env guix refresh -u emacs idutils gcc-4.8.4
@end example
@noindent