Merge pull request #83816 from veprbl/pr/texlive_set_texmfcnf

texlive.combine: set TEXMFCNF in binary wrapper
This commit is contained in:
Dmitry Kalinkin 2020-04-01 02:22:36 -04:00 committed by GitHub
commit 2ca5abd62d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -153,7 +153,8 @@ in buildEnv {
rm "$link"
makeWrapper "$target" "$link" \
--prefix PATH : "$out/bin:${perl}/bin" \
--prefix PERL5LIB : "$PERL5LIB"
--prefix PERL5LIB : "$PERL5LIB" \
--set-default TEXMFCNF "$TEXMFCNF"
# avoid using non-nix shebang in $target by calling interpreter
if [[ "$(head -c 2 "$target")" = "#!" ]]; then