summary refs log tree commit diff
diff options
context:
space:
mode:
authorCrystalGamma <github@crystalgamma.de>2018-08-23 15:30:19 +0200
committerxeji <36407913+xeji@users.noreply.github.com>2018-08-23 15:30:19 +0200
commit43eb8b9a9346359671395cb85f6a747e4f9b42f4 (patch)
tree15fc3c6ad0d6584c3bd83d4b3c1ba235264cae79
parent97bfb346702b57a96cd2cefd80d5986e75c0106c (diff)
downloadnixlib-43eb8b9a9346359671395cb85f6a747e4f9b42f4.tar
nixlib-43eb8b9a9346359671395cb85f6a747e4f9b42f4.tar.gz
nixlib-43eb8b9a9346359671395cb85f6a747e4f9b42f4.tar.bz2
nixlib-43eb8b9a9346359671395cb85f6a747e4f9b42f4.tar.lz
nixlib-43eb8b9a9346359671395cb85f6a747e4f9b42f4.tar.xz
nixlib-43eb8b9a9346359671395cb85f6a747e4f9b42f4.tar.zst
nixlib-43eb8b9a9346359671395cb85f6a747e4f9b42f4.zip
texlive-bin: disable mfluajit on ppc64(le) (#45475)
LuaJIT currently has no 64-bit Power support and so breaks the build on such platforms.
-rw-r--r--pkgs/tools/typesetting/tex/texlive/bin.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/tools/typesetting/tex/texlive/bin.nix b/pkgs/tools/typesetting/tex/texlive/bin.nix
index 8e7551b4e410..b313fc0b53de 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;