diff options
author | Ludovic Courtès <ludo@gnu.org> | 2019-11-08 23:19:07 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2019-11-09 00:36:10 +0100 |
commit | 7f0f38b54c98f13fed4cec1ee4785d493f29abee (patch) | |
tree | b5e1ca6a9820274b94ff298ad44f0a333252ddc0 /scripts | |
parent | 64bef450d9c3a94d22fbdbd28f365ed416d1cf3b (diff) | |
download | patches-7f0f38b54c98f13fed4cec1ee4785d493f29abee.tar patches-7f0f38b54c98f13fed4cec1ee4785d493f29abee.tar.gz |
ui: Produce hyperlinks for the 'location' field of search results.
This affects the output of 'guix show', 'guix search', and 'guix system
search'.
* guix/ui.scm (hyperlink, supports-hyperlinks?, location->hyperlink):
New procedures.
(package->recutils): Add #:hyperlinks? and honor it.
(display-search-results): Pass #:hyperlinks? to PRINT.
* guix/scripts/system/search.scm (service-type->recutils): Add
#:hyperlinks? and honor it.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions