mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-23 19:19:20 -05: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-trim-right
|
||||
(parameterize ((%text-width width*))
|
||||
(texi->plain-text
|
||||
(string-append "description: "
|
||||
(or (and=> (package-description p) P_)
|
||||
""))))
|
||||
(string-append "description: "
|
||||
(or (package-description-string p) "")))
|
||||
#\newline)))
|
||||
(for-each (match-lambda
|
||||
((field . value)
|
||||
|
|
Loading…
Reference in a new issue