From cea4312e5649c7d6af7df75426c902bba2630a32 Mon Sep 17 00:00:00 2001 From: Izorkin Date: Mon, 10 Dec 2018 17:40:37 +0300 Subject: [PATCH] phpPackages.imagick: fix build with php73 --- pkgs/top-level/php-packages.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/top-level/php-packages.nix b/pkgs/top-level/php-packages.nix index 004c773f26c5..edaf6342b4fa 100644 --- a/pkgs/top-level/php-packages.nix +++ b/pkgs/top-level/php-packages.nix @@ -111,7 +111,7 @@ let sha256 = "0z2nc92xfc5axa9f2dy95rmsd2c81q8cs1pm4anh0a50x9g5ng0z"; configureFlags = [ "--with-imagick=${pkgs.imagemagick.dev}" ]; nativeBuildInputs = [ pkgs.pkgconfig ]; - buildInputs = [ pkgs.pcre ]; + buildInputs = [ (if isPhp73 then pkgs.pcre2 else pkgs.pcre) ]; }; memcached = buildPecl rec {