From 5d14340cba568dd54f850003f75edd5e55fe6317 Mon Sep 17 00:00:00 2001 From: clefru Date: Fri, 10 May 2019 14:50:09 +0200 Subject: [PATCH] texlive: retain texmf/updmap.cfg and generate texmf-config/updmap.cfg (#58220) As discussed in https://github.com/NixOS/nixpkgs/issues/58026#issuecomment-475825057 --- pkgs/tools/typesetting/tex/texlive/combine.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkgs/tools/typesetting/tex/texlive/combine.nix b/pkgs/tools/typesetting/tex/texlive/combine.nix index 1a0a9b877bfe..69fde7784f59 100644 --- a/pkgs/tools/typesetting/tex/texlive/combine.nix +++ b/pkgs/tools/typesetting/tex/texlive/combine.nix @@ -126,8 +126,6 @@ in buildEnv { patchCnfLua "./texmfcnf.lua" mkdir $out/share/texmf-local - - rm updmap.cfg ) '' + # updmap.cfg seems like not needing changes @@ -216,7 +214,7 @@ in buildEnv { texlinks.sh "$out/bin" && wrapBin (perl `type -P fmtutil.pl` --sys --all || true) | grep '^fmtutil' # too verbose #texlinks.sh "$out/bin" && wrapBin # do we need to regenerate format links? - perl `type -P updmap.pl` --sys --syncwithtrees --force + echo y | perl `type -P updmap.pl` --sys --syncwithtrees --force perl `type -P mktexlsr.pl` ./share/texmf-* # to make sure '' + # install (wrappers for) scripts, based on a list from upstream texlive