diff --git a/pkgs/tools/typesetting/tex/texlive/combine.nix b/pkgs/tools/typesetting/tex/texlive/combine.nix index 1d6fcfa67fd9..d4c9d0cde80b 100644 --- a/pkgs/tools/typesetting/tex/texlive/combine.nix +++ b/pkgs/tools/typesetting/tex/texlive/combine.nix @@ -223,7 +223,7 @@ in (buildEnv { sed "1s|$| -I $out/share/texmf/scripts/texlive|" -i "$out/bin/fmtutil" ln -sf fmtutil "$out/bin/mktexfmt" - perl `type -P mktexlsr.pl` ./share/texmf + perl `type -P mktexlsr.pl` --sort ./share/texmf ${bin.texlinks}/bin/texlinks "$out/bin" && wrapBin perl `type -P fmtutil.pl` --sys --all | grep '^fmtutil' # too verbose #${bin.texlinks}/bin/texlinks "$out/bin" && wrapBin # do we need to regenerate format links? @@ -233,7 +233,7 @@ in (buildEnv { # Regenerate the map files (this is optional) perl `type -P updmap.pl` --sys --force - perl `type -P mktexlsr.pl` ./share/texmf-* # to make sure + perl `type -P mktexlsr.pl` --sort ./share/texmf-* # to make sure '' + # install (wrappers for) scripts, based on a list from upstream texlive ''