summaryrefslogtreecommitdiff
path: root/guix
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2022-04-29 22:57:30 +0200
committerLudovic Courtès <ludo@gnu.org>2022-04-29 22:59:08 +0200
commitd2c663711e8962ee171981b41bed2f971a1e8115 (patch)
tree5470c5008ed5b4785efc28514ad338741c7b8bfa /guix
parentb06ecc57515d4e3c8b2228e8142654e9a26ba6e1 (diff)
guix system: Highlight search results.
This is a followup to 5e0c3479759047311b6a518fd0bc512b232f201a. * guix/scripts/system/search.scm (guix-system-search): Pass #:regexps parameter to 'display-search-results'.
Diffstat (limited to 'guix')
-rw-r--r--guix/scripts/system/search.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/guix/scripts/system/search.scm b/guix/scripts/system/search.scm
index d70ed266f4..44f00194cd 100644
--- a/guix/scripts/system/search.scm
+++ b/guix/scripts/system/search.scm
@@ -189,4 +189,5 @@ description matches REGEXPS sorted by relevance, and their score."
(leave-on-EPIPE
(display-search-results matches (current-output-port)
#:print service-type->recutils
+ #:regexps regexps
#:command "guix system search")))))