diff options
author | Ludovic Courtès <ludo@gnu.org> | 2021-03-25 23:58:09 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2021-03-26 00:04:05 +0100 |
commit | 3cb1136780108aebe45794e639b4a8c06460c7e3 (patch) | |
tree | bdadb32a0b6306a17bc8b590543da5ad7b377711 /doc | |
parent | 3b8bd63aa2c38e5104276daa8d7528629abd2c86 (diff) | |
download | guix-3cb1136780108aebe45794e639b4a8c06460c7e3.tar guix-3cb1136780108aebe45794e639b4a8c06460c7e3.tar.gz |
doc: Explain how to pass 'guix refresh' the packages found in your profile.
Suggested by Xinglu Chen <public@yoctocell.xyz>.
* doc/guix.texi (Invoking guix refresh): Mention how to update packages
found in one's profile.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/guix.texi | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/guix.texi b/doc/guix.texi index 965ea81f90..4333faf8af 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 |