guix-package: Make `--search' queries case-insensitive.
* guix-package.in (guix-package)[process-query]: Use `regexp/icase' for the `search' regexp.
This commit is contained in:
parent
0bdba772ca
commit
cb09fb24ee
@ -596,7 +596,7 @@ Install, remove, or upgrade PACKAGES in a single transaction.\n"))
|
||||
#t))
|
||||
|
||||
(('search regexp)
|
||||
(let ((regexp (and regexp (make-regexp regexp))))
|
||||
(let ((regexp (make-regexp regexp regexp/icase)))
|
||||
(for-each (cute package->recutils <> (current-output-port))
|
||||
(find-packages-by-description regexp))
|
||||
#t))
|
||||
|
Loading…
Reference in New Issue
Block a user