php81: Enable pcre built with jit sealloc

This was an issue back in PHP 7.3 and has been fixed according to the
comment made on 2019-10-07: https://bugs.php.net/bug.php?id=78630#1570447943
This commit is contained in:
Elis Hirwing 2022-11-12 09:22:00 +01:00
parent c0a1af53c6
commit 8abee3d926
No known key found for this signature in database
GPG Key ID: D57EFA625C9A925F

View File

@ -15782,7 +15782,7 @@ with pkgs;
php81 = callPackage ../development/interpreters/php/8.1.nix {
stdenv = if stdenv.cc.isClang then llvmPackages.stdenv else stdenv;
pcre2 = pcre2.override {
withJitSealloc = false; # Needed to avoid crashes, see https://bugs.php.net/bug.php?id=78630
withJitSealloc = !stdenv.isDarwin;
};
};
php81Extensions = recurseIntoAttrs php81.extensions;