diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2023-12-08 18:21:55 +0100 |
---|---|---|
committer | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2023-12-08 18:21:55 +0100 |
commit | e1e4d22a1b1c0b5f406e0df102f582f54645010f (patch) | |
tree | 885f9089980d8521454c9f13cea68b8c142cc610 /pkgs | |
parent | 10f05262180062103df2c130b4898e9fe731e7b7 (diff) |
python310Packages.m2crypto: fix build on darwin
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/python-modules/m2crypto/default.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/m2crypto/default.nix b/pkgs/development/python-modules/m2crypto/default.nix index 99b62b6684a34..7353831bad392 100644 --- a/pkgs/development/python-modules/m2crypto/default.nix +++ b/pkgs/development/python-modules/m2crypto/default.nix @@ -1,4 +1,5 @@ { lib +, stdenv , buildPythonPackage , fetchPypi , openssl @@ -31,6 +32,11 @@ buildPythonPackage rec { parameterized ]; + env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin (toString [ + "-Wno-error=implicit-function-declaration" + "-Wno-error=incompatible-pointer-types" + ]); + nativeCheckInputs = [ pytestCheckHook ]; |