php81Extensions.opcache: fix compile on zts build

This commit is contained in:
Soner Sayakci 2023-12-10 17:16:53 +01:00
parent d7c364c880
commit 7e25c39809
No known key found for this signature in database

View file

@ -478,6 +478,7 @@ lib.makeScope pkgs.newScope (self: with self; {
lib.optional
(!stdenv.isDarwin && lib.meta.availableOn stdenv.hostPlatform valgrind)
valgrind.dev;
configureFlags = lib.optional php.ztsSupport "--disable-opcache-jit";
zendExtension = true;
postPatch = lib.optionalString stdenv.isDarwin ''
# Tests are flaky on darwin