diff options
author | Ludovic Courtès <ludo@gnu.org> | 2019-04-06 23:14:19 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2019-04-10 17:09:47 +0200 |
commit | 96b8c2e6e2aa00b7b400530b62cf7479aa2d9674 (patch) | |
tree | 3f92f141b75c6b43c8afac39e7eaaace81f37120 /nix | |
parent | c872b952c527cb42766654d12059d5ea5224ca6c (diff) | |
download | guix-96b8c2e6e2aa00b7b400530b62cf7479aa2d9674.tar guix-96b8c2e6e2aa00b7b400530b62cf7479aa2d9674.tar.gz |
guix gc: Add '--delete-generations'.
* guix/scripts/gc.scm (show-help, %options): Add
'--delete-generations'. Change '--delete' shorthand to '-D'.
(delete-old-generations): New procedure.
(guix-gc)[delete-generations]: New procedure.
Call it when ACTION is 'collect-garbage' and OPTS contains
'delete-generations.
* doc/guix.texi (Invoking guix gc): Document it.
Diffstat (limited to 'nix')
0 files changed, 0 insertions, 0 deletions