From c6eba2cd00d04ba3a3c34052c3cce4f9182876af Mon Sep 17 00:00:00 2001 From: Dmitry Kalinkin Date: Fri, 7 May 2021 23:14:48 -0400 Subject: [PATCH] texlive.bin.core-big: fix parallel build --- pkgs/tools/typesetting/tex/texlive/bin.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/tools/typesetting/tex/texlive/bin.nix b/pkgs/tools/typesetting/tex/texlive/bin.nix index f52cf3a29a4e..32fba9a8e1f3 100644 --- a/pkgs/tools/typesetting/tex/texlive/bin.nix +++ b/pkgs/tools/typesetting/tex/texlive/bin.nix @@ -185,6 +185,12 @@ core-big = stdenv.mkDerivation { #TODO: upmendex mkdir -p "$path" && cd "$path" "../../../$path/configure" $configureFlags $extraConfig + + if [[ "$path" =~ "libs/pplib" ]]; then + # TODO: revert for texlive 2022 + # ../../../texk/web2c/luatexdir/luamd5/md5lib.c:197:10: fatal error: 'utilsha.h' file not found + make ''${enableParallelBuilding:+-j''${NIX_BUILD_CORES} -l''${NIX_BUILD_CORES}} + fi ) done '';