diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2023-03-29 21:04:13 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2023-03-29 21:07:39 +0200 |
commit | 03a83c290603c2c4b6b9af7086e876448a7a8e41 (patch) | |
tree | 6b35a12c2ea3c4bbc6f6dc525d100676b2318dbc | |
parent | 36f78676e59a2087bc7af5582cb8d63eeb37c8c5 (diff) | |
download | guix-03a83c290603c2c4b6b9af7086e876448a7a8e41.tar.gz |
import/texlive: Only process description if it exists.
* guix/import/texlive.scm (tlpdb->package): Run beautify-description only when the "longdesc" field exists.
-rw-r--r-- | guix/import/texlive.scm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/guix/import/texlive.scm b/guix/import/texlive.scm index a81805bdca..f1557fcd0f 100644 --- a/guix/import/texlive.scm +++ b/guix/import/texlive.scm @@ -298,10 +298,9 @@ of those files are returned that are unexpectedly installed." `((home-page ,(string-append "https://ctan.org" url))))) '((home-page "https://www.tug.org/texlive/"))) (synopsis ,(assoc-ref data 'shortdesc)) - (description ,(beautify-description - (assoc-ref data 'longdesc))) (license ,(string->license (assoc-ref data 'catalogue-license)))) + (description ,(and=> (assoc-ref data 'longdesc) beautify-description)) filtered-depends))) (define texlive->guix-package |