python311Packages.caio: fix build on darwin

This commit is contained in:
Weijia Wang
2024-05-22 14:38:17 +02:00
parent a79236678b
commit 995c2a386c
@@ -1,4 +1,5 @@
{ lib
, stdenv
, aiomisc
, buildPythonPackage
, fetchFromGitHub
@@ -27,6 +28,10 @@ buildPythonPackage rec {
pytestCheckHook
];
env.NIX_CFLAGS_COMPILE = toString (lib.optionals stdenv.cc.isClang [
"-Wno-error=implicit-function-declaration"
]);
pythonImportsCheck = [
"caio"
];