|
2 | 2 | , texlive |
3 | 3 | , zlib, libiconv, libpng, libX11 |
4 | 4 | , freetype, gd, libXaw, icu, ghostscript, libXpm, libXmu, libXext |
5 | | -, perl, pkgconfig |
| 5 | +, perl, pkgconfig, autoreconfHook |
6 | 6 | , poppler, libpaper, graphite2, zziplib, harfbuzz, potrace, gmp, mpfr |
7 | 7 | , cairo, pixman, xorg, clisp, biber |
8 | 8 | , makeWrapper |
|
38 | 38 | sha256 = "1c4aq8lk8g3mlfq3mdjnxvmhss3qs7nni5rmw0k054dmj6q1xj5n"; |
39 | 39 | }) |
40 | 40 | ]; |
| 41 | + # remove when removing synctex-missing-header.patch |
| 42 | + preAutoreconf = "pushd texk/web2c"; |
| 43 | + postAutoreconf = "popd"; |
41 | 44 |
|
42 | 45 | configureFlags = [ |
43 | 46 | "--with-banner-add=/NixOS.org" |
@@ -69,11 +72,11 @@ texliveYear = year; |
69 | 72 | core = stdenv.mkDerivation rec { |
70 | 73 | name = "texlive-bin-${version}"; |
71 | 74 |
|
72 | | - inherit (common) src patches; |
| 75 | + inherit (common) src patches preAutoreconf postAutoreconf; |
73 | 76 |
|
74 | 77 | outputs = [ "out" "doc" ]; |
75 | 78 |
|
76 | | - nativeBuildInputs = [ pkgconfig ]; |
| 79 | + nativeBuildInputs = [ pkgconfig autoreconfHook ]; |
77 | 80 | buildInputs = [ |
78 | 81 | /*teckit*/ zziplib poppler mpfr gmp |
79 | 82 | pixman potrace gd freetype libpng libpaper zlib |
@@ -106,7 +109,6 @@ core = stdenv.mkDerivation rec { |
106 | 109 | "xetex" "bibtexu" "bibtex8" "bibtex-x" "upmendex" # ICU isn't small |
107 | 110 | ] ++ stdenv.lib.optional (stdenv.hostPlatform.isPower && stdenv.hostPlatform.is64bit) "mfluajit") |
108 | 111 | ++ [ "--without-system-harfbuzz" "--without-system-icu" ] # bogus configure |
109 | | - |
110 | 112 | ; |
111 | 113 |
|
112 | 114 | enableParallelBuilding = true; |
@@ -170,7 +172,7 @@ inherit (core-big) metafont metapost luatex xetex; |
170 | 172 | core-big = stdenv.mkDerivation { #TODO: upmendex |
171 | 173 | name = "texlive-core-big.bin-${version}"; |
172 | 174 |
|
173 | | - inherit (common) src patches; |
| 175 | + inherit (common) src patches preAutoreconf postAutoreconf; |
174 | 176 |
|
175 | 177 | hardeningDisable = [ "format" ]; |
176 | 178 |
|
|
0 commit comments