1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 07:31:20 +00:00

texlive.bin.core: avoid building lua{53,jit} libraries

This commit is contained in:
Dmitry Kalinkin 2020-10-09 18:20:59 -04:00
parent 02cbf4e773
commit 69e0797b00
No known key found for this signature in database
GPG key ID: 5157B3EC8B2CA333

View file

@ -136,7 +136,7 @@ core = stdenv.mkDerivation rec {
preConfigure = ''
rm -r libs/{cairo,freetype2,gd,gmp,graphite2,harfbuzz,icu,libpaper,libpng} \
libs/{mpfr,pixman,poppler,xpdf,zlib,zziplib}
libs/{lua53,luajit,mpfr,pixman,poppler,xpdf,zlib,zziplib}
mkdir WorkDir
cd WorkDir
'';
@ -144,13 +144,13 @@ core = stdenv.mkDerivation rec {
configureFlags = common.configureFlags
++ [ "--without-x" ] # disable xdvik and xpdfopen
++ map (what: "--disable-${what}") ([
++ map (what: "--disable-${what}") [
"chktex"
"dvisvgm" "dvipng" # ghostscript dependency
"luatex" "luajittex" "mp" "pmp" "upmp" "mf" # cairo would bring in X and more
"luatex" "luajittex"
"mp" "pmp" "upmp" "mf" "mflua" "mfluajit" # 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")
;
];
enableParallelBuilding = true;