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

View file

@ -14341,15 +14341,22 @@ the packages).
@item --update @item --update
@itemx -u @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 usually run from a checkout of the Guix source tree (@pxref{Running
Guix Before It Is Installed}): Guix Before It Is Installed}):
@example @example
$ ./pre-inst-env guix refresh -s non-core -u ./pre-inst-env guix refresh -s non-core -u
@end example @end example
@xref{Defining Packages}, for more information on package definitions. @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}] @item --select=[@var{subset}]
@itemx -s @var{subset} @itemx -s @var{subset}