Browse Source

guix-package: Make `--search' queries case-insensitive.

* guix-package.in (guix-package)[process-query]: Use `regexp/icase' for
  the `search' regexp.
version-0.8.3
Ludovic Courtès 10 years ago
parent
commit
cb09fb24ee
  1. 2
      guix-package.in

2
guix-package.in

@ -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…
Cancel
Save