mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-31 14:56:54 +01:00
ui: Use package-description-string.
* guix/ui.scm (package->recutils): Use package-description-string instead of package-description and P_.
This commit is contained in:
parent
a1da0904a6
commit
bd03e99f66
1 changed files with 2 additions and 4 deletions
|
@ -1470,10 +1470,8 @@ (define (package<? p1 p2)
|
||||||
(string->recutils
|
(string->recutils
|
||||||
(string-trim-right
|
(string-trim-right
|
||||||
(parameterize ((%text-width width*))
|
(parameterize ((%text-width width*))
|
||||||
(texi->plain-text
|
|
||||||
(string-append "description: "
|
(string-append "description: "
|
||||||
(or (and=> (package-description p) P_)
|
(or (package-description-string p) "")))
|
||||||
""))))
|
|
||||||
#\newline)))
|
#\newline)))
|
||||||
(for-each (match-lambda
|
(for-each (match-lambda
|
||||||
((field . value)
|
((field . value)
|
||||||
|
|
Loading…
Reference in a new issue