about summary refs log tree commit diff
path: root/pkgs/development/php-packages/openswoole/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/php-packages/openswoole/default.nix')
-rw-r--r--pkgs/development/php-packages/openswoole/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/development/php-packages/openswoole/default.nix b/pkgs/development/php-packages/openswoole/default.nix
index 83c59fb3212c..0a56b3f0e774 100644
--- a/pkgs/development/php-packages/openswoole/default.nix
+++ b/pkgs/development/php-packages/openswoole/default.nix
@@ -5,6 +5,7 @@
   valgrind,
   pcre2,
   fetchFromGitHub,
+  php,
 }:
 
 let
@@ -21,7 +22,7 @@ buildPecl {
     hash = "sha256-Z26E1PdKypB/MImCHFgA3rJW5LvVaLZsQUxRv0RcFuo=";
   };
 
-  buildInputs = [ pcre2 ] ++ lib.optionals (!stdenv.isDarwin) [ valgrind ];
+  buildInputs = [ pcre2 ] ++ lib.optionals (!stdenv.hostPlatform.isDarwin) [ valgrind ];
 
   meta = with lib; {
     changelog = "https://github.com/openswoole/swoole-src/releases/tag/v${version}";
@@ -34,5 +35,6 @@ buildPecl {
       You can use the sync or async, Coroutine API to write whole applications or create thousands of light weight Coroutines within one Linux process.
     '';
     maintainers = teams.php.members;
+    broken = lib.versionAtLeast php.version "8.4";
   };
 }