diff options
author | Nikolay Amiantov <ab@fmap.me> | 2016-05-10 06:32:36 +0300 |
---|---|---|
committer | Nikolay Amiantov <ab@fmap.me> | 2016-05-10 06:33:55 +0300 |
commit | 49de0c32bdeabf46f53e446811966ee9bd09aaf1 (patch) | |
tree | f8f0e9abccd70dbf6311647a0501b873602cedd6 /pkgs/tools/typesetting/tex | |
parent | 82dc880fbd6c97957ac14b567366f4eeec83dee4 (diff) |
texlive: restore back exports of TeX paths
Credits for the fix to jraygauthier. See https://github.com/NixOS/nixpkgs/pull/12768#issuecomment-218050187
Diffstat (limited to 'pkgs/tools/typesetting/tex')
-rw-r--r-- | pkgs/tools/typesetting/tex/texlive-new/combine.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/tools/typesetting/tex/texlive-new/combine.nix b/pkgs/tools/typesetting/tex/texlive-new/combine.nix index 87b2d93b59b6d..1faf731fd76dd 100644 --- a/pkgs/tools/typesetting/tex/texlive-new/combine.nix +++ b/pkgs/tools/typesetting/tex/texlive-new/combine.nix @@ -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 |