mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 09:53:10 +00:00
texlive: retain texmf/updmap.cfg and generate texmf-config/updmap.cfg (#58220)
As discussed in https://github.com/NixOS/nixpkgs/issues/58026#issuecomment-475825057
This commit is contained in:
parent
b93d3473d3
commit
5d14340cba
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user