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
1 changed files with 5 additions and 0 deletions

View File

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