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"
|
patchCnfLua "./texmfcnf.lua"
|
||||||
|
|
||||||
mkdir $out/share/texmf-local
|
mkdir $out/share/texmf-local
|
||||||
|
|
||||||
rm updmap.cfg
|
|
||||||
)
|
)
|
||||||
'' +
|
'' +
|
||||||
# updmap.cfg seems like not needing changes
|
# updmap.cfg seems like not needing changes
|
||||||
@ -216,7 +214,7 @@ in buildEnv {
|
|||||||
texlinks.sh "$out/bin" && wrapBin
|
texlinks.sh "$out/bin" && wrapBin
|
||||||
(perl `type -P fmtutil.pl` --sys --all || true) | grep '^fmtutil' # too verbose
|
(perl `type -P fmtutil.pl` --sys --all || true) | grep '^fmtutil' # too verbose
|
||||||
#texlinks.sh "$out/bin" && wrapBin # do we need to regenerate format links?
|
#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
|
perl `type -P mktexlsr.pl` ./share/texmf-* # to make sure
|
||||||
'' +
|
'' +
|
||||||
# install (wrappers for) scripts, based on a list from upstream texlive
|
# install (wrappers for) scripts, based on a list from upstream texlive
|
||||||
|
Loading…
x
Reference in New Issue
Block a user