3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

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

View file

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