summary refs log tree commit diff
diff options
context:
space:
mode:
authorUli Baum <xeji@cat3.de>2018-08-28 17:54:52 +0200
committerUli Baum <xeji@cat3.de>2018-08-29 11:03:45 +0200
commit831551a9a19bba96b593cb9fa3e862fb039d792e (patch)
tree25b4f1168328e3c8a8e10ebf7aaf519a663779a8
parentac03d2e571b22621cc84fa7111adb538285cb71f (diff)
downloadnixlib-831551a9a19bba96b593cb9fa3e862fb039d792e.tar
nixlib-831551a9a19bba96b593cb9fa3e862fb039d792e.tar.gz
nixlib-831551a9a19bba96b593cb9fa3e862fb039d792e.tar.bz2
nixlib-831551a9a19bba96b593cb9fa3e862fb039d792e.tar.lz
nixlib-831551a9a19bba96b593cb9fa3e862fb039d792e.tar.xz
nixlib-831551a9a19bba96b593cb9fa3e862fb039d792e.tar.zst
nixlib-831551a9a19bba96b593cb9fa3e862fb039d792e.zip
texlive.bin.core-big: disable luatex53
build failed on Darwin
Patch by @veprbl
-rw-r--r--pkgs/tools/typesetting/tex/texlive/bin.nix9
1 files changed, 7 insertions, 2 deletions
diff --git a/pkgs/tools/typesetting/tex/texlive/bin.nix b/pkgs/tools/typesetting/tex/texlive/bin.nix
index 06913d444567..53fac978ebb0 100644
--- a/pkgs/tools/typesetting/tex/texlive/bin.nix
+++ b/pkgs/tools/typesetting/tex/texlive/bin.nix
@@ -176,8 +176,12 @@ core-big = stdenv.mkDerivation { #TODO: upmendex
     ++ withSystemLibs [ "kpathsea" "ptexenc" "cairo" "harfbuzz" "icu" "graphite2" ]
     ++ map (prog: "--disable-${prog}") # don't build things we already have
       [ "tex" "ptex" "eptex" "uptex" "euptex" "aleph" "pdftex"
-        "web-progs" "synctex" "luajittex" "mfluajit" # luajittex is mostly not needed, see:
+        "web-progs" "synctex"
+        # build fails on Darwin with luatex53
+        "luatex53" # TODO probably can be removed when TexLive 2019 is out
+        # luajittex is mostly not needed, see:
         # http://tex.stackexchange.com/questions/97999/when-to-use-luajittex-in-favour-of-luatex
+        "luajittex" "mfluajit"
       ];
 
   configureScript = ":";
@@ -185,7 +189,8 @@ core-big = stdenv.mkDerivation { #TODO: upmendex
   # we use static libtexlua, because it's only used by a single binary
   postConfigure = ''
     mkdir ./WorkDir && cd ./WorkDir
-    for path in libs/{teckit,lua52,lua53} texk/web2c; do
+    # TODO add lua53 here when luatex53 is enabled again
+    for path in libs/{teckit,lua52} texk/web2c; do
       (
         if [[ "$path" =~ "libs/lua5" ]]; then
           extraConfig="--enable-static --disable-shared"