summary refs log tree commit diff
path: root/pkgs/tools/typesetting
diff options
context:
space:
mode:
authorVincenzo Mantova <1962985+xworld21@users.noreply.github.com>2021-09-24 10:23:45 +0100
committerGitHub <noreply@github.com>2021-09-24 05:23:45 -0400
commit4f8b48e432d37b4bda1013ca99aab702e6138aac (patch)
tree8eb0f3b6772a6256bff3ace7e861fcb1cb7cb716 /pkgs/tools/typesetting
parentb56907aeeb1ea88cfefe2bf52ea5905ac8b62003 (diff)
downloadnixpkgs-4f8b48e432d37b4bda1013ca99aab702e6138aac.tar
nixpkgs-4f8b48e432d37b4bda1013ca99aab702e6138aac.tar.gz
nixpkgs-4f8b48e432d37b4bda1013ca99aab702e6138aac.tar.bz2
nixpkgs-4f8b48e432d37b4bda1013ca99aab702e6138aac.tar.lz
nixpkgs-4f8b48e432d37b4bda1013ca99aab702e6138aac.tar.xz
nixpkgs-4f8b48e432d37b4bda1013ca99aab702e6138aac.tar.zst
nixpkgs-4f8b48e432d37b4bda1013ca99aab702e6138aac.zip
texlive.bin.core: remove format -> engine links (#136293)
Diffstat (limited to 'pkgs/tools/typesetting')
-rw-r--r--pkgs/tools/typesetting/tex/texlive/bin.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/tools/typesetting/tex/texlive/bin.nix b/pkgs/tools/typesetting/tex/texlive/bin.nix
index 05c1644c8c7..9aa2cde0f3c 100644
--- a/pkgs/tools/typesetting/tex/texlive/bin.nix
+++ b/pkgs/tools/typesetting/tex/texlive/bin.nix
@@ -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}