doc: Mention 'guix refresh -u' for third-party channels.

* doc/guix.texi (Invoking guix refresh): Show how to run 'guix refresh
-u' on a third-party channel.
This commit is contained in:
Ludovic Courtès 2023-05-28 14:35:51 +02:00
parent e7910f4882
commit db10a4a2ae
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 9 additions and 2 deletions

View File

@ -14341,15 +14341,22 @@ the packages).
@item --update
@itemx -u
Update distribution source files (package recipes) in place. This is
Update distribution source files (package definitions) 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 -u
./pre-inst-env guix refresh -s non-core -u
@end example
@xref{Defining Packages}, for more information on package definitions.
You can also run it on packages from a third-party channel:
@example
guix refresh -L /path/to/channel -u @var{package}
@end example
@xref{Creating a Channel}, on how to create a channel.
@item --select=[@var{subset}]
@itemx -s @var{subset}