mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-19 05:07:11 -05:00
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.
This commit is contained in:
parent
26a69ae00c
commit
bd8e7621b8
1 changed files with 9 additions and 10 deletions
|
@ -1745,16 +1745,15 @@ (define build
|
||||||
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
|
#:properties
|
||||||
#:properties
|
`((type . profile-hook)
|
||||||
`((type . profile-hook)
|
(hook . texlive-configuration)))
|
||||||
(hook . texlive-configuration)))
|
(return #f))))
|
||||||
(return #f))))
|
|
||||||
|
|
||||||
(define %default-profile-hooks
|
(define %default-profile-hooks
|
||||||
;; This is the list of derivation-returning procedures that are called by
|
;; This is the list of derivation-returning procedures that are called by
|
||||||
|
|
Loading…
Reference in a new issue