mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue