From bfd8e56aa690ac9e99443380738acef83b1baaef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Tue, 29 Sep 2015 18:11:03 +0200 Subject: [PATCH] webkitgtk-2.4: drop autoreconf, propagate harfbuzz-icu The autoreconf phase isn't needed anymore but wasn't removed. Fixes #10099 (I think). It's maybe slightly wasteful for the closure, but it's likely that in the case of webkit it won't be a big deal and icu might be in the closure anyway. --- pkgs/development/libraries/webkitgtk/2.4.nix | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/pkgs/development/libraries/webkitgtk/2.4.nix b/pkgs/development/libraries/webkitgtk/2.4.nix index 3800a6f78dd2..8ad3fcd0428d 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) ];