This commit is contained in:
Dmitry Kalinkin 2020-01-07 11:00:36 -05:00 committed by GitHub
parent 7e298ddcd9
commit f9d18e5ddc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -128,8 +128,6 @@ in buildEnv {
mkdir $out/share/texmf-local mkdir $out/share/texmf-local
) )
'' + '' +
# updmap.cfg seems like not needing changes
# now filter hyphenation patterns, in a hacky way ATM # now filter hyphenation patterns, in a hacky way ATM
(let (let
pnames = uniqueStrings (map (p: p.pname) pkgList.splitBin.wrong); pnames = uniqueStrings (map (p: p.pname) pkgList.splitBin.wrong);
@ -214,10 +212,9 @@ 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?
# Note that --syncwithtrees *only* removes the missing files from the configuration, # Disable unavailable map files
# but does not generate map files.
echo y | perl `type -P updmap.pl` --sys --syncwithtrees --force echo y | perl `type -P updmap.pl` --sys --syncwithtrees --force
# This does generate the map files. # Regenerate the map files (this is optional)
perl `type -P updmap.pl` --sys --force perl `type -P updmap.pl` --sys --force
perl `type -P mktexlsr.pl` ./share/texmf-* # to make sure perl `type -P mktexlsr.pl` ./share/texmf-* # to make sure
'' + '' +