texlive.bin.core: remove format -> engine links (#136293)

This commit is contained in:
Vincenzo Mantova
2021-09-24 05:23:45 -04:00
committed by GitHub
parent b56907aeeb
commit 4f8b48e432
+3 -1
View File
@@ -103,7 +103,9 @@ core = stdenv.mkDerivation rec {
installTargets = [ "install" "texlinks" ];
# TODO: perhaps improve texmf.cnf search locations
postInstall = /* a few texmf-dist files are useful; take the rest from pkgs */ ''
postInstall = /* links format -> engine will be regenerated in texlive.combine */ ''
PATH="$out/bin:$PATH" ${texlinks} --cnffile "$out/share/texmf-dist/web2c/fmtutil.cnf" --unlink "$out/bin"
'' + /* a few texmf-dist files are useful; take the rest from pkgs */ ''
mv "$out/share/texmf-dist/web2c/texmf.cnf" .
rm -r "$out/share/texmf-dist"
mkdir -p "$out"/share/texmf-dist/{web2c,scripts/texlive/TeXLive}