gnu: texlive-texmf: Fix build.
authorRicardo Wurmus <rekado@elephly.net>
Sat, 19 Jan 2019 18:54:54 +0000 (19:54 +0100)
committerRicardo Wurmus <rekado@elephly.net>
Sat, 19 Jan 2019 18:55:56 +0000 (19:55 +0100)
This is a follow-up to commit a1b4d62cda12d0d54663700a3f384f8a8ad5b13d.

* gnu/packages/tex.scm (texlive-texmf)[arguments]: Unset texlive-bin search
path.

gnu/packages/tex.scm

index 3a3bd47..139400c 100644 (file)
@@ -4472,6 +4472,11 @@ directly generate PDF documents instead of DVI.")
       #: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")))