summary refs log tree commit diff
path: root/pkgs/tools/typesetting
diff options
context:
space:
mode:
authorDmitry Kalinkin <dmitry.kalinkin@gmail.com>2021-05-07 23:14:48 -0400
committerJonathan Ringer <jonringer@users.noreply.github.com>2021-05-08 10:20:46 -0700
commitc6eba2cd00d04ba3a3c34052c3cce4f9182876af (patch)
tree4903e43e1fb215f53cabee6d77c77db4b9af577c /pkgs/tools/typesetting
parent876e7e2883db6184104c29cfa70873310ffcac18 (diff)
downloadnixpkgs-c6eba2cd00d04ba3a3c34052c3cce4f9182876af.tar
nixpkgs-c6eba2cd00d04ba3a3c34052c3cce4f9182876af.tar.gz
nixpkgs-c6eba2cd00d04ba3a3c34052c3cce4f9182876af.tar.bz2
nixpkgs-c6eba2cd00d04ba3a3c34052c3cce4f9182876af.tar.lz
nixpkgs-c6eba2cd00d04ba3a3c34052c3cce4f9182876af.tar.xz
nixpkgs-c6eba2cd00d04ba3a3c34052c3cce4f9182876af.tar.zst
nixpkgs-c6eba2cd00d04ba3a3c34052c3cce4f9182876af.zip
texlive.bin.core-big: fix parallel build
Diffstat (limited to 'pkgs/tools/typesetting')
-rw-r--r--pkgs/tools/typesetting/tex/texlive/bin.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/tools/typesetting/tex/texlive/bin.nix b/pkgs/tools/typesetting/tex/texlive/bin.nix
index f52cf3a29a4..32fba9a8e1f 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
   '';