~ruther/guix-local

a030511fd9933c52cbffe298f68a375594bb84a4 — Ricardo Wurmus 4 years ago 039c384
import: texlive: Print inputs with labels and guixified names.

* guix/import/texlive.scm (tlpdb->package): Improve handling of propagated-inputs.
1 files changed, 5 insertions(+), 1 deletions(-)

M guix/import/texlive.scm
M guix/import/texlive.scm => guix/import/texlive.scm +5 -1
@@ 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)