Skip to content

Commit

Permalink
texlive.combine: link TEXMFDIST in $out/share for backward compatibil…
Browse files Browse the repository at this point in the history
…ity (NixOS#233882)
  • Loading branch information
xworld21 committed May 25, 2023
1 parent bfa58af commit 3d6e242
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkgs/tools/typesetting/tex/texlive/combine.nix
Expand Up @@ -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; })

0 comments on commit 3d6e242

Please sign in to comment.