mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-04 01:42:53 +03:00
* texlive: make updmap actually regenerate (#76826) The --syncwithtrees flag only updates the config files, so run it again without --syncwithtrees to generate the actual map files. * ! fixup * ! fixup Co-authored-by: Dmitry Kalinkin <dmitry.kalinkin@gmail.com>
This commit is contained in:
commit
c0b70f0e35
@ -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,7 +212,12 @@ 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?
|
||||||
|
|
||||||
|
# Disable unavailable map files
|
||||||
echo y | perl `type -P updmap.pl` --sys --syncwithtrees --force
|
echo y | perl `type -P updmap.pl` --sys --syncwithtrees --force
|
||||||
|
# Regenerate the map files (this is optional)
|
||||||
|
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
|
||||||
'' +
|
'' +
|
||||||
# install (wrappers for) scripts, based on a list from upstream texlive
|
# install (wrappers for) scripts, based on a list from upstream texlive
|
||||||
|
Loading…
Reference in New Issue
Block a user