summaryrefslogtreecommitdiff
path: root/guix/import
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2021-11-17 21:37:23 +0000
committerRicardo Wurmus <rekado@elephly.net>2021-11-18 13:17:56 +0000
commita030511fd9933c52cbffe298f68a375594bb84a4 (patch)
tree2fa724194991f6d694d02161b3d7029d7083ef0b /guix/import
parent039c3848c302903e2b85643dd5f1d6008b8fcfd8 (diff)
downloadguix-patches-a030511fd9933c52cbffe298f68a375594bb84a4.tar
guix-patches-a030511fd9933c52cbffe298f68a375594bb84a4.tar.gz
import: texlive: Print inputs with labels and guixified names.
* guix/import/texlive.scm (tlpdb->package): Improve handling of propagated-inputs.
Diffstat (limited to 'guix/import')
-rw-r--r--guix/import/texlive.scm6
1 files changed, 5 insertions, 1 deletions
diff --git a/guix/import/texlive.scm b/guix/import/texlive.scm
index e22823e807..15afc781ff 100644
--- a/guix/import/texlive.scm
+++ b/guix/import/texlive.scm
@@ -235,7 +235,11 @@
,@(if (assoc-ref data 'srcfiles) '() '(#:trivial? #true))))
,@(or (and=> (assoc-ref data 'depend)
(lambda (inputs)
- `((propagated-inputs ,inputs))))
+ `((propagated-inputs
+ ,(map (lambda (tex-name)
+ (let ((name (guix-name tex-name)))
+ (list name (list 'unquote (string->symbol name)))))
+ inputs)))))
'())
,@(or (and=> (assoc-ref data 'catalogue-ctan)
(lambda (url)