Merge pull request #313667 from wegank/caio-fix

python311Packages.caio: fix build on darwin
This commit is contained in:
Weijia Wang
2024-05-22 16:59:34 +02:00
committed by GitHub

View File

@@ -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"
];