diff --git a/pkgs/development/libraries/webkitgtk/2.4.nix b/pkgs/development/libraries/webkitgtk/2.4.nix index 3800a6f78dd..8ad3fcd0428 100644 --- a/pkgs/development/libraries/webkitgtk/2.4.nix +++ b/pkgs/development/libraries/webkitgtk/2.4.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, autoreconfHook, perl, python, ruby, bison, gperf, flex +{ stdenv, fetchurl, perl, python, ruby, bison, gperf, flex , pkgconfig, which, gettext, gobjectIntrospection , gtk2, gtk3, wayland, libwebp, enchant, sqlite , libxml2, libsoup, libsecret, libxslt, harfbuzz @@ -29,9 +29,7 @@ stdenv.mkDerivation rec { prePatch = '' patchShebangs Tools/gtk ''; - - # patch *.in between autoreconf and configure - postAutoreconf = "patch -p1 < ${./webcore-svg-libxml-cflags.patch}"; + patches = [ ./webcore-svg-libxml-cflags.patch ]; configureFlags = with stdenv.lib; [ "--disable-geolocation" @@ -44,18 +42,18 @@ stdenv.mkDerivation rec { dontAddDisableDepTrack = true; nativeBuildInputs = [ - autoreconfHook perl python ruby bison gperf flex + perl python ruby bison gperf flex pkgconfig which gettext gobjectIntrospection ]; buildInputs = [ gtk2 wayland libwebp enchant - libxml2 libsecret libxslt harfbuzz + libxml2 libsecret libxslt gst-plugins-base sqlite ]; propagatedBuildInputs = [ - libsoup + libsoup harfbuzz/*icu in *.la*/ (if withGtk2 then gtk2 else gtk3) ];