diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2023-03-29 21:05:26 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2023-03-29 21:07:39 +0200 |
commit | b849a47bdbd84d68c7f608c26770dc93fbc52e0c (patch) | |
tree | 349c445717eda5c2eb39809b372ea4bf380d3f60 | |
parent | 03a83c290603c2c4b6b9af7086e876448a7a8e41 (diff) | |
download | guix-b849a47bdbd84d68c7f608c26770dc93fbc52e0c.tar.gz guix-b849a47bdbd84d68c7f608c26770dc93fbc52e0c.zip |
import/texlive: Process license field only when it exists.
* guix/import/texlive.scm (tlpdb->package): Check "catalogue-license" field
before using string->license.
-rw-r--r-- | guix/import/texlive.scm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/guix/import/texlive.scm b/guix/import/texlive.scm index f1557fcd0f..17c17f690c 100644 --- a/guix/import/texlive.scm +++ b/guix/import/texlive.scm @@ -298,9 +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)) - (license ,(string->license - (assoc-ref data 'catalogue-license)))) (description ,(and=> (assoc-ref data 'longdesc) beautify-description)) + (license ,(and=> (assoc-ref data 'catalogue-license) + string->license))) filtered-depends))) (define texlive->guix-package |