diff options
author | zimoun <zimon.toutoune@gmail.com> | 2019-09-18 17:57:57 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2019-09-19 23:24:04 +0200 |
commit | d2cdef65605b9e14bfa02c3bf1612ab6b62f4a89 (patch) | |
tree | 6868972815e7deca295565a2e84efad7783604ae /gnu/packages/skarnet.scm | |
parent | 6ec872231fdf746bd6e11b97f8a6b3a23498806c (diff) | |
download | guix-d2cdef65605b9e14bfa02c3bf1612ab6b62f4a89.tar guix-d2cdef65605b9e14bfa02c3bf1612ab6b62f4a89.tar.gz |
ui: 'relevance' connects regexps with a logical and.
Fixes <https://bugs.gnu.org/36763>.
Previously, the logical and connecting the regexps did not output the expected
results (introduced in 8874faaaac665100a095ef25e39c9a389f5a397f).
* guix/ui.scm (relevance)
[score]: Change its arguments.
[regexp->score]: New procedure.
* tests/ui.scm ("package-relevance"): Add test.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages/skarnet.scm')
0 files changed, 0 insertions, 0 deletions