From dbf2a748298adad25c6befd5109b463a22dab957 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Tue, 9 Mar 2010 22:47:22 +0000 Subject: [PATCH] TeXLive: Building the format files, again. svn path=/nixpkgs/trunk/; revision=20517 --- pkgs/misc/tex/texlive/default.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/pkgs/misc/tex/texlive/default.nix b/pkgs/misc/tex/texlive/default.nix index eadabb9b339..e72d9112daa 100644 --- a/pkgs/misc/tex/texlive/default.nix +++ b/pkgs/misc/tex/texlive/default.nix @@ -60,9 +60,16 @@ rec { HOME=. PATH=$PATH:$out/bin updmap-sys --syncwithtrees # Prebuild the format files, as it used to be done with TeXLive 2007. + # Luatex currently fails this way: + # + # This is a summary of all `failed' messages: + # `luatex -ini -jobname=luatex -progname=luatex luatex.ini' failed + # `luatex -ini -jobname=dviluatex -progname=dviluatex dviluatex.ini' failed + # + # I find it acceptable, hence the "|| true". echo "building format files..." ensureDir "$out/texmf-var/web2c" - PATH="$PATH:$out/bin" fmtutil-sys --all + PATH="$PATH:$out/bin" fmtutil-sys --all || true PATH=$PATH:$out/bin mktexlsr $out/texmf* '') ["minInit" "defEnsureDir" "doUnpack" "doMakeInstall"];