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:
Arun Isaac 2020-06-01 04:55:16 +05:30
parent a1da0904a6
commit bd03e99f66
No known key found for this signature in database
GPG Key ID: 2E25EE8B61802BB3
1 changed files with 2 additions and 4 deletions

View File

@ -1470,10 +1470,8 @@ HYPERLINKS? is true, emit hyperlink escape sequences when appropriate."
(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)