doc: Clarify how to run 'guix refresh -u'.

* doc/guix.texi (Invoking guix refresh): Mention ./pre-inst-env.
This commit is contained in:
Ludovic Courtès 2015-10-06 23:35:50 +02:00
parent 72c62716be
commit 38e16b4907

View file

@ -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