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

This commit is contained in:
Vincenzo Mantova 2021-09-24 10:23:45 +01:00 committed by GitHub
parent b56907aeeb
commit 4f8b48e432
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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}