aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2022-07-17 17:15:02 +0200
committerLudovic Courtès <ludo@gnu.org>2022-07-23 00:39:55 +0200
commitba22560627f848f40891a56355ff26b6de1380bc (patch)
tree53257cdc8b0b05d2b0f0fb861417761dab38507f /doc
parent5df8f7802e8b45855e8f84830677001dc631e4f7 (diff)
downloadguix-ba22560627f848f40891a56355ff26b6de1380bc.tar.gz
guix-ba22560627f848f40891a56355ff26b6de1380bc.zip
guix gc: '--delete-generations' now deletes old Home generations.
Previously, 'guix gc -d4m' would ignore Home generations. With this change, they are treated like profiles and generations that match the pattern are deleted. * guix/scripts/gc.scm (guix-gc)[delete-generations]: Add call to 'home-generation-base'. * doc/guix.texi (Invoking guix gc): Document the change.
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index 3c5864ec1a..cdecdf5b82 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -4362,7 +4362,8 @@ nothing and exit immediately.
@item --delete-generations[=@var{duration}]
@itemx -d [@var{duration}]
Before starting the garbage collection process, delete all the generations
-older than @var{duration}, for all the user profiles; when run as root, this
+older than @var{duration}, for all the user profiles and home environment
+generations; when run as root, this
applies to all the profiles @emph{of all the users}.
For example, this command deletes all the generations of all your profiles