Merge pull request #134549 from tristanpemble/php-swoole-darwin
php.extensions.swoole: fix compilation on darwin
This commit is contained in:
commit
9a3d985c2c
@ -1,4 +1,4 @@
|
||||
{ lib, buildPecl, php, valgrind, pcre2 }:
|
||||
{ lib, stdenv, buildPecl, php, valgrind, pcre2 }:
|
||||
|
||||
buildPecl {
|
||||
pname = "swoole";
|
||||
@ -6,7 +6,7 @@ buildPecl {
|
||||
version = "4.6.7";
|
||||
sha256 = "107wp403z8skkqrcm240vyyy6wqx5a4v2bqhlshlknyi14r2v165";
|
||||
|
||||
buildInputs = [ valgrind pcre2 ];
|
||||
buildInputs = [ pcre2 ] ++ lib.optionals (!stdenv.isDarwin) [ valgrind ];
|
||||
internalDeps = lib.optionals (lib.versionOlder php.version "7.4") [ php.extensions.hash ];
|
||||
|
||||
doCheck = true;
|
||||
|
Loading…
Reference in New Issue
Block a user