me
/
guix
Archived
1
0
Fork 0

import: texlive: Print inputs with labels and guixified names.

* guix/import/texlive.scm (tlpdb->package): Improve handling of propagated-inputs.
master
Ricardo Wurmus 2021-11-17 21:37:23 +00:00
parent 039c3848c3
commit a030511fd9
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 5 additions and 1 deletions

View File

@ -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)