diff options
author | Arun Isaac <arunisaac@systemreboot.net> | 2020-06-01 04:55:16 +0530 |
---|---|---|
committer | Arun Isaac <arunisaac@systemreboot.net> | 2020-06-15 23:31:56 +0530 |
commit | bd03e99f66be1a038e3a8aeb502f5153fd05cc67 (patch) | |
tree | 7bd4ed17edf738f0198d015ca8f3b7bd75bccced | |
parent | a1da0904a6631ee6f6c12286427f2124bb479e4a (diff) | |
download | guix-bd03e99f66be1a038e3a8aeb502f5153fd05cc67.tar.gz guix-bd03e99f66be1a038e3a8aeb502f5153fd05cc67.zip |
ui: Use package-description-string.
* guix/ui.scm (package->recutils): Use package-description-string instead of
package-description and P_.
-rw-r--r-- | guix/ui.scm | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/guix/ui.scm b/guix/ui.scm index d4c912a02e..0d3620f96f 100644 --- a/guix/ui.scm +++ b/guix/ui.scm @@ -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) |