civodul pushed a commit to branch master
in repository guix.

commit 3cb1136780108aebe45794e639b4a8c06460c7e3
Author: Ludovic Courtès <[email protected]>
AuthorDate: Thu Mar 25 23:58:09 2021 +0100

    doc: Explain how to pass 'guix refresh' the packages found in your profile.
    
    Suggested by Xinglu Chen <[email protected]>.
    
    * doc/guix.texi (Invoking guix refresh): Mention how to update packages
    found in one's profile.
---
 doc/guix.texi | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/doc/guix.texi b/doc/guix.texi
index 965ea81..4333faf 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -11760,7 +11760,13 @@ $ ./pre-inst-env guix refresh -u emacs idutils gcc@@4.8
 @noindent
 The command above specifically updates the @code{emacs} and
 @code{idutils} packages.  The @option{--select} option would have no
-effect in this case.
+effect in this case.  You might also want to update definitions that
+correspond to the packages installed in your profile:
+
+@example
+$ ./pre-inst-env guix refresh -u \
+       $(guix package --list-installed | cut -f1)
+@end example
 
 When considering whether to upgrade a package, it is sometimes
 convenient to know which packages would be affected by the upgrade and

Reply via email to