diff --git a/pkgs/top-level/php-packages.nix b/pkgs/top-level/php-packages.nix index e016c13e6a8..568b84be13e 100644 --- a/pkgs/top-level/php-packages.nix +++ b/pkgs/top-level/php-packages.nix @@ -19,9 +19,8 @@ let apcu51 = assert isPhp7; buildPecl { name = "apcu-5.1.8"; - sha256 = "01dfbf0245d8cc0f51ba16467a60b5fad08e30b28df7846e0dd213da1143ecce"; - + buildInputs = [ pkgs.pcre ]; doCheck = true; checkTarget = "test"; checkFlagsArray = ["REPORT_EXIT_STATUS=1" "NO_INTERACTION=1"]; @@ -91,6 +90,7 @@ let sha256 = "0siyxpszjz6s095s2g2854bhprjq49rf22v6syjiwvndg1pc9fsh"; configureFlags = "--with-imagick=${pkgs.imagemagick.dev}"; nativeBuildInputs = [ pkgs.pkgconfig ]; + buildInputs = [ pkgs.pcre ]; }; # No support for PHP 7 yet