diff options
author | Nikita Karetnikov <nikita@karetnikov.org> | 2013-09-19 11:07:39 +0000 |
---|---|---|
committer | Nikita Karetnikov <nikita@karetnikov.org> | 2013-09-19 11:22:31 +0000 |
commit | 2cd09108c9b316c9c8aa1c1b87b85a1c32cef089 (patch) | |
tree | 9cce8929f1da78d7b7a9324129829cf3d9ab5238 /gnu | |
parent | 72d9148fbf6e097cd8838b51c49f107c5176287a (diff) | |
download | patches-2cd09108c9b316c9c8aa1c1b87b85a1c32cef089.tar patches-2cd09108c9b316c9c8aa1c1b87b85a1c32cef089.tar.gz |
guix package: Add '--list-generations'.
* guix/scripts/package.scm: Import (srfi srfi-19).
(generation-time, matching-generations): New functions.
(show-help): Add '--list-generations'.
(%options): Likewise.
(guix-package)[process-query]: Add support for '--list-generations'.
* guix/ui.scm: Import (srfi srfi-19) and (ice-9 regex).
(string->generations, string->duration): New functions.
* tests/guix-package.sh: Test '--list-generations'.
* tests/ui.scm: Import (srfi srfi-19).
Test 'string->generations' and 'string->duration'.
* doc/guix.texi (Invoking guix-package): Document '--list-generations'.
Diffstat (limited to 'gnu')
0 files changed, 0 insertions, 0 deletions