gnu: texlive-texmf: Fix build.

This is a follow-up to commit a1b4d62cda.

* gnu/packages/tex.scm (texlive-texmf)[arguments]: Unset texlive-bin search
path.
This commit is contained in:
Ricardo Wurmus 2019-01-19 19:54:54 +01:00
parent 560df540a6
commit 977403feb2
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -4472,6 +4472,11 @@ (define texlive-texmf
#:phases
(modify-phases (map (cut assq <> %standard-phases)
'(set-paths unpack patch-source-shebangs))
(add-after 'unpack 'unset-environment-variables
(lambda _
(unsetenv "TEXMF")
(unsetenv "TEXMFCNF")
#t))
(add-after 'patch-source-shebangs 'install
(lambda* (#:key outputs #:allow-other-keys)
(let ((share (string-append (assoc-ref outputs "out") "/share")))