[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re-approaching package tagging

From: Ludovic Courtès
Subject: Re: Re-approaching package tagging
Date: Fri, 21 Dec 2018 22:00:54 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Hi Chris,

Chris Marusich <address@hidden> skribis:

> Is "guix package --search" case-insensitive?  The manual ((guix)
> Invoking guix package) does not seem to mention it.

Per guix/scripts/package.scm, it is case-insensitive:

--8<---------------cut here---------------start------------->8---
      (('search _)
       (let* ((patterns (filter-map (match-lambda
                                      (('query 'search rx) rx)
                                      (_                   #f))
              (regexps  (map (cut make-regexp* <> regexp/icase) patterns)))
--8<---------------cut here---------------end--------------->8---

I’ll add a note in the manual.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]