From 3d6e2420a257d1f898709ea1cb133377e2d6ec19 Mon Sep 17 00:00:00 2001 From: Vincenzo Mantova <1962985+xworld21@users.noreply.github.com> Date: Thu, 25 May 2023 17:47:15 +0100 Subject: [PATCH] texlive.combine: link TEXMFDIST in $out/share for backward compatibility (#233882) --- pkgs/tools/typesetting/tex/texlive/combine.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/tools/typesetting/tex/texlive/combine.nix b/pkgs/tools/typesetting/tex/texlive/combine.nix index 71c81a43ef39..008b519cd830 100644 --- a/pkgs/tools/typesetting/tex/texlive/combine.nix +++ b/pkgs/tools/typesetting/tex/texlive/combine.nix @@ -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; })