texlive.combine: link TEXMFDIST in $out/share for backward compatibility (#233882)

This commit is contained in:
Vincenzo Mantova
2023-05-25 12:47:15 -04:00
committed by GitHub
parent bfa58af4da
commit 3d6e2420a2
@@ -339,6 +339,10 @@ in (buildEnv {
# and other non-deterministic diagnostics.
''
find "$TEXMFSYSVAR"/web2c -name '*.log' -delete
'' +
# link TEXMFDIST in $out/share for backward compatibility
''
ln -s "$TEXMFDIST" "$out"/share/texmf
''
;
}).overrideAttrs (_: { allowSubstitutes = true; })