From 43eb8b9a9346359671395cb85f6a747e4f9b42f4 Mon Sep 17 00:00:00 2001 From: CrystalGamma Date: Thu, 23 Aug 2018 15:30:19 +0200 Subject: [PATCH] texlive-bin: disable mfluajit on ppc64(le) (#45475) LuaJIT currently has no 64-bit Power support and so breaks the build on such platforms. --- pkgs/tools/typesetting/tex/texlive/bin.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/typesetting/tex/texlive/bin.nix b/pkgs/tools/typesetting/tex/texlive/bin.nix index 8e7551b4e41..b313fc0b53d 100644 --- a/pkgs/tools/typesetting/tex/texlive/bin.nix +++ b/pkgs/tools/typesetting/tex/texlive/bin.nix @@ -95,12 +95,13 @@ core = stdenv.mkDerivation rec { configureFlags = common.configureFlags ++ [ "--without-x" ] # disable xdvik and xpdfopen - ++ map (what: "--disable-${what}") [ + ++ map (what: "--disable-${what}") ([ "dvisvgm" "dvipng" # ghostscript dependency "luatex" "luajittex" "mp" "pmp" "upmp" "mf" # cairo would bring in X and more "xetex" "bibtexu" "bibtex8" "bibtex-x" "upmendex" # ICU isn't small - ] + ] ++ stdenv.lib.optional (stdenv.hostPlatform.isPower && stdenv.hostPlatform.is64bit) "mfluajit") ++ [ "--without-system-harfbuzz" "--without-system-icu" ] # bogus configure + ; enableParallelBuilding = true;