TeXLive: Run mktexfmt' after the first mktexlsr'.

svn path=/nixpkgs/trunk/; revision=20476
This commit is contained in:
Ludovic Courtès 2010-03-08 13:22:45 +00:00
parent 9502391275
commit cd0f5826df

View File

@ -55,15 +55,15 @@ rec {
sed -e 's/.*pyhyph.*/=&/' -i $out/texmf-config/tex/generic/config/language.dat
PATH=$PATH:$out/bin mktexlsr $out/texmf*
HOME=. PATH=$PATH:$out/bin updmap-sys --syncwithtrees
# Prebuild the format files, as it used to be done with TeXLive 2007.
ensureDir "$out/texmf-var/web2c"
PATH="$PATH:$out/bin" mktexfmt --fmtdir="$out/texmf-var/web2c" --all
PATH=$PATH:$out/bin mktexlsr $out/texmf*
HOME=. PATH=$PATH:$out/bin updmap-sys --syncwithtrees
PATH=$PATH:$out/bin mktexlsr $out/texmf*
'') ["minInit" "defEnsureDir" "doUnpack" "doMakeInstall"];
buildInputs = [