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/")))))
|
||||
#t)))
|
||||
|
||||
(with-monad %store-monad
|
||||
(if (any (cut string-prefix? "texlive-" <>)
|
||||
(map manifest-entry-name (manifest-entries manifest)))
|
||||
(gexp->derivation "texlive-configuration" build
|
||||
#:substitutable? #f
|
||||
#:local-build? #t
|
||||
#:properties
|
||||
`((type . profile-hook)
|
||||
(hook . texlive-configuration)))
|
||||
(return #f))))
|
||||
(mlet %store-monad ((texlive-base (manifest-lookup-package manifest "texlive-base")))
|
||||
(if texlive-base
|
||||
(gexp->derivation "texlive-configuration" build
|
||||
#:substitutable? #f
|
||||
#:local-build? #t
|
||||
#:properties
|
||||
`((type . profile-hook)
|
||||
(hook . texlive-configuration)))
|
||||
(return #f))))
|
||||
|
||||
(define %default-profile-hooks
|
||||
;; This is the list of derivation-returning procedures that are called by
|
||||
|
|
Loading…
Reference in a new issue