diff options
author | Nikita Karetnikov <nikita@karetnikov.org> | 2013-09-26 02:36:24 +0000 |
---|---|---|
committer | Nikita Karetnikov <nikita@karetnikov.org> | 2013-09-26 15:41:43 +0000 |
commit | b7884ca3ca72b39397ff0abd1154f97b981394cd (patch) | |
tree | fe101df1dfa3ada15e7c432bbd9b2541161b1b9f /HACKING | |
parent | 64d2e973fb2f22a42c6dec5065070343695e5848 (diff) | |
download | guix-b7884ca3ca72b39397ff0abd1154f97b981394cd.tar.gz guix-b7884ca3ca72b39397ff0abd1154f97b981394cd.zip |
guix package: Add '--delete-generations'.
* guix/scripts/package.scm (switch-to-previous-generation): New function.
(roll-back): Use the new function instead of 'switch-link'.
(show-help): Add '--delete-generations'.
(%options): Likewise.
(guix-package)[process-actions]: Add 'current-generation-number',
'display-and-delete', and 'delete-generation'. Add support for
'--delete-generations', and reindent the code.
* tests/guix-package.sh: Test '--delete-generations'.
* doc/guix.texi (Invoking guix-package): Document '--delete-generations'.
Diffstat (limited to 'HACKING')
0 files changed, 0 insertions, 0 deletions