import: texlive: Print inputs with labels and guixified names.
* guix/import/texlive.scm (tlpdb->package): Improve handling of propagated-inputs.
This commit is contained in:
parent
039c3848c3
commit
a030511fd9
|
@ -235,7 +235,11 @@ (define (tlpdb->package name)
|
||||||
,@(if (assoc-ref data 'srcfiles) '() '(#:trivial? #true))))
|
,@(if (assoc-ref data 'srcfiles) '() '(#:trivial? #true))))
|
||||||
,@(or (and=> (assoc-ref data 'depend)
|
,@(or (and=> (assoc-ref data 'depend)
|
||||||
(lambda (inputs)
|
(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)
|
,@(or (and=> (assoc-ref data 'catalogue-ctan)
|
||||||
(lambda (url)
|
(lambda (url)
|
||||||
|
|
Loading…
Reference in a new issue