3
0
Fork 0
forked from mirrors/nixpkgs

texlive: restore back exports of TeX paths

Credits for the fix to jraygauthier.
See https://github.com/NixOS/nixpkgs/pull/12768#issuecomment-218050187
This commit is contained in:
Nikolay Amiantov 2016-05-10 06:32:36 +03:00
parent 82dc880fbd
commit 49de0c32bd

View file

@ -60,6 +60,10 @@ in buildEnv {
+
''
export PATH="$out/bin:$out/share/texmf/scripts/texlive:${perl}/bin:$PATH"
export TEXMFCNF="$out/share/texmf/web2c"
export TEXMFDIST="$out/share/texmf"
export TEXMFSYSCONFIG="$out/share/texmf-config"
export TEXMFSYSVAR="$out/share/texmf-var"
export PERL5LIB="$out/share/texmf/scripts/texlive"
'' +
# patch texmf-{dist,local} -> texmf to be sure