texlive: fix fmtutil invocation, generate all formats

Otherwise they will have to be generated by users lazily,
which is probably not the right trade-off.

Noticed this because lack of formats was causing problems
on a few documents since they will (a TL2018 change, I believe)
attempt to be written to the nix build user's ~/.texlive2018.
This commit is contained in:
Will Dietz 2018-08-22 08:12:20 -05:00 committed by Uli Baum
parent d944690b7b
commit 2d9bd29cc5

View file

@ -203,7 +203,7 @@ in buildEnv {
perl `type -P mktexlsr.pl` ./share/texmf
texlinks.sh "$out/bin" && wrapBin
(perl `type -P fmtutil.pl` --sys --refresh || 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?
perl `type -P updmap.pl` --sys --syncwithtrees --force
perl `type -P mktexlsr.pl` ./share/texmf-* # to make sure