From fb30776a77122b687fd5f758672311dbcbd81cc2 Mon Sep 17 00:00:00 2001 From: "William A. Kennington III" Date: Thu, 17 Sep 2015 15:18:33 -0700 Subject: [PATCH] pcre: Fix patch method --- pkgs/development/libraries/pcre/default.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/pcre/default.nix b/pkgs/development/libraries/pcre/default.nix index 5a55db53348e..f32af2a0e1e4 100644 --- a/pkgs/development/libraries/pcre/default.nix +++ b/pkgs/development/libraries/pcre/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, unicodeSupport ? true, cplusplusSupport ? true +{ stdenv, fetchurl, autoreconfHook, unicodeSupport ? true, cplusplusSupport ? true , windows ? null }: @@ -12,8 +12,12 @@ stdenv.mkDerivation rec { sha256 = "17bqykp604p7376wj3q2nmjdhrb6v1ny8q08zdwi7qvc02l9wrsi"; }; + nativeBuildInputs = [ autoreconfHook ]; + # A bundle of fixes which should be removed for 8.38 - patches = [ ./fixes.patch ]; + patchPhase = '' + patch -p0 -i ${./fixes.patch} + ''; outputs = [ "out" "doc" "man" ];