guix: texlive importer ignores "-dev" packages in propagated inputs.

* guix/import/texlive.scm (translate-depends): Skip "-dev" packages.
This commit is contained in:
Nicolas Goaziou 2023-06-19 15:28:26 +02:00
parent f3cdb6e203
commit 4d171bf03f
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -153,6 +153,9 @@ (define* (translate-depends depends #:optional texlive-only)
((or (? (cut string-prefix? "texlive-" <>))
"tlshell" "texlive.infra")
#f)
;; And also development packages, which should inherit from
;; the current package anyway.
((? (cut string-suffix? "-dev" <>)) #f)
;; Others.
(name name))
depends)))