guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/22: import: texlive: Print inputs with labels and guixified names.


From: guix-commits
Subject: 01/22: import: texlive: Print inputs with labels and guixified names.
Date: Thu, 18 Nov 2021 09:53:20 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit a030511fd9933c52cbffe298f68a375594bb84a4
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Wed Nov 17 21:37:23 2021 +0000

    import: texlive: Print inputs with labels and guixified names.
    
    * guix/import/texlive.scm (tlpdb->package): Improve handling of 
propagated-inputs.
---
 guix/import/texlive.scm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/guix/import/texlive.scm b/guix/import/texlive.scm
index e22823e..15afc78 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]