me
/
guix
Archived
1
0
Fork 0

guix: Build texlive-configuration only when texlive-base is present.

Fixes <https://bugs.gnu.org/48519>.

* guix/profiles.scm (texlive-configuration): Build only if texlive-base is
present in the profile's manifest.
master
Ricardo Wurmus 2021-05-20 16:26:46 +02:00
parent 26a69ae00c
commit bd8e7621b8
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 9 additions and 10 deletions

View File

@ -1745,9 +1745,8 @@ MANIFEST."
maproot "updmap/pdftex/"))))) maproot "updmap/pdftex/")))))
#t))) #t)))
(with-monad %store-monad (mlet %store-monad ((texlive-base (manifest-lookup-package manifest "texlive-base")))
(if (any (cut string-prefix? "texlive-" <>) (if texlive-base
(map manifest-entry-name (manifest-entries manifest)))
(gexp->derivation "texlive-configuration" build (gexp->derivation "texlive-configuration" build
#:substitutable? #f #:substitutable? #f
#:local-build? #t #:local-build? #t