summary refs log tree commit diff
path: root/guix
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2023-06-19 15:28:26 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2023-07-18 18:15:54 +0200
commit4d171bf03faa5cf16b4d99a023c24d81c8d39e75 (patch)
treead3f9788c73f46d06fba80815c76f0e3799aaa5d /guix
parentf3cdb6e20336560ed40a7fe6b752ce27152c5743 (diff)
downloadguix-4d171bf03faa5cf16b4d99a023c24d81c8d39e75.tar.gz
guix: texlive importer ignores "-dev" packages in propagated inputs.
* guix/import/texlive.scm (translate-depends): Skip "-dev" packages.
Diffstat (limited to 'guix')
-rw-r--r--guix/import/texlive.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/guix/import/texlive.scm b/guix/import/texlive.scm
index a26e467dca..3b5c7192b1 100644
--- a/guix/import/texlive.scm
+++ b/guix/import/texlive.scm
@@ -153,6 +153,9 @@ When TEXLIVE-ONLY is true, only TeX Live packages are returned."
                  ((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)))