From 23190fb3a920acc01ce439c7737deb5c71feeabd Mon Sep 17 00:00:00 2001 From: Izorkin Date: Mon, 10 Dec 2018 17:37:18 +0300 Subject: [PATCH] phpPackages.apcu_bc: 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 a6357a50a73c..004c773f26c5 100644 --- a/pkgs/top-level/php-packages.nix +++ b/pkgs/top-level/php-packages.nix @@ -23,7 +23,7 @@ let apcu_bc = buildPecl { name = "apcu_bc-1.0.4"; sha256 = "1raww7alwayg9nk0akly1mdrjypxlwg8safnmaczl773cwpw5cbw"; - buildInputs = [ apcu pkgs.pcre ]; + buildInputs = [ apcu (if isPhp73 then pkgs.pcre2 else pkgs.pcre) ]; }; ast = buildPecl {