Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

texlive.combine: set TEXMFCNF in binary wrapper

This helps kpathsea to find texmf.cnf in some cases. For example,
dvipng was trying to look for it in
/nix/store/<hash>-texlive-dvipng.bin-2019/ instead of
/nix/store/<hash>-texlive-combined-full-2019/.

(cherry picked from commit 91c9f2ab5c931ad036f6a5d1872c22d203b751af)
cc #83816

+2 -1
+2 -1
pkgs/tools/typesetting/tex/texlive/combine.nix
··· 153 153 rm "$link" 154 154 makeWrapper "$target" "$link" \ 155 155 --prefix PATH : "$out/bin:${perl}/bin" \ 156 - --prefix PERL5LIB : "$PERL5LIB" 156 + --prefix PERL5LIB : "$PERL5LIB" \ 157 + --set-default TEXMFCNF "$TEXMFCNF" 157 158 158 159 # avoid using non-nix shebang in $target by calling interpreter 159 160 if [[ "$(head -c 2 "$target")" = "#!" ]]; then