gnu: texlive-union: Wrap programs weakly.

* gnu/packages/tex.scm (texlive-union)[arguments]: Wrap programs with TEXMFCNF
and TEXMF so that environment variables take precedence.
This commit is contained in:
Ricardo Wurmus 2019-01-14 22:11:03 +01:00
parent 9c45beb4cc
commit 476f7fceb7
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 2 additions and 2 deletions

View File

@ -1879,8 +1879,8 @@ standard LaTeX packages."
"/bin")) "/bin"))
(for-each (for-each
(cut wrap-program <> (cut wrap-program <>
`("TEXMFCNF" ":" = (,(dirname texmf.cnf))) `("TEXMFCNF" ":" suffix (,(dirname texmf.cnf)))
`("TEXMF" ":" = (,(string-append out "/share/texmf-dist")))) `("TEXMF" ":" suffix (,(string-append out "/share/texmf-dist"))))
(find-files (string-append out "/bin") ".*")) (find-files (string-append out "/bin") ".*"))
#t)))) #t))))
(inputs (inputs