diff options
author | Ludovic Courtès <ludo@gnu.org> | 2016-01-04 22:27:38 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2016-01-05 00:28:42 +0100 |
commit | db5a94445f3b21b307c73ea72ed495bda891ef28 (patch) | |
tree | 8a9367de0e41b6742a47f46a36e751d102b5f934 /tests/store.scm | |
parent | d28ef4393719692371aee085d5723f5779cb6049 (diff) | |
download | guix-db5a94445f3b21b307c73ea72ed495bda891ef28.tar.gz guix-db5a94445f3b21b307c73ea72ed495bda891ef28.zip |
guix package: Allow multiple '--search' flags.
* guix/scripts/package.scm (find-packages-by-description): Change 'rx'
parameter to 'regexps'.
[matches-all?, matches-one?]: New procedures.
Use them.
(process-query): Collect regexps from all 'search' queries, and pass
them to 'find-packages-by-description'.
* tests/guix-package.sh: Add tests.
* doc/guix.texi (Invoking guix package): Document it.
Diffstat (limited to 'tests/store.scm')
0 files changed, 0 insertions, 0 deletions