php-packages: cleanup

This commit is contained in:
Sandro Jäckel 2021-03-07 04:42:11 +01:00
parent 743c6a4187
commit af32607630
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

View file

@ -402,7 +402,7 @@ lib.makeScope pkgs.newScope (self: with self; {
buildInputs = [ pcre' ] ++ lib.optionals (lib.versionAtLeast php.version "8.0") [
valgrind.dev
];
patches = [] ++ lib.optionals (lib.versionOlder php.version "7.4") [
patches = lib.optionals (lib.versionOlder php.version "7.4") [
(pkgs.writeText "zend_file_cache_config.patch" ''
--- a/ext/opcache/zend_file_cache.c
+++ b/ext/opcache/zend_file_cache.c