summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2023-05-28 14:35:51 +0200
committerLudovic Courtès <ludo@gnu.org>2023-05-31 23:25:24 +0200
commitdb10a4a2aefd8c8b2edb6fedc220396c50541c4b (patch)
tree140cbb5bb9aa61de291698d24e7e53bb90dc0c09 /doc
parente7910f4882d520fcf8920df9ff4ddb00eb9ee41d (diff)
downloadguix-db10a4a2aefd8c8b2edb6fedc220396c50541c4b.tar.gz
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.
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 5fd2449ed5..943e9bf526 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -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}