diff options
author | Ivan Babrou <github@ivan.computer> | 2021-12-25 17:07:02 -0800 |
---|---|---|
committer | Ivan Babrou <github@ivan.computer> | 2021-12-25 17:21:56 -0800 |
commit | 18fcfb980a99c51e2749e73844e70622919b2d49 (patch) | |
tree | 0dacc0606bb78e7c76fe54882cb0eec2958cb950 /pkgs/development/python-modules/cffi | |
parent | 9ec14cd78d0618d6e3b1e68e257da262e05a3023 (diff) | |
download | nixpkgs-18fcfb980a99c51e2749e73844e70622919b2d49.tar nixpkgs-18fcfb980a99c51e2749e73844e70622919b2d49.tar.gz nixpkgs-18fcfb980a99c51e2749e73844e70622919b2d49.tar.bz2 nixpkgs-18fcfb980a99c51e2749e73844e70622919b2d49.tar.lz nixpkgs-18fcfb980a99c51e2749e73844e70622919b2d49.tar.xz nixpkgs-18fcfb980a99c51e2749e73844e70622919b2d49.tar.zst nixpkgs-18fcfb980a99c51e2749e73844e70622919b2d49.zip |
cffi: disable tests on aarch64-darwin
The tests were disabled on Darwin prior to 54b5495e4e63, which probably fixed them for x86_64-darwin, but not for aarch64-darwin.
Diffstat (limited to 'pkgs/development/python-modules/cffi')
-rw-r--r-- | pkgs/development/python-modules/cffi/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/cffi/default.nix b/pkgs/development/python-modules/cffi/default.nix index 07af19a4384..a65cd297f43 100644 --- a/pkgs/development/python-modules/cffi/default.nix +++ b/pkgs/development/python-modules/cffi/default.nix @@ -30,7 +30,9 @@ if isPyPy then null else buildPythonPackage rec { NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-unused-command-line-argument -Wno-unreachable-code -Wno-c++11-narrowing"; - doCheck = !stdenv.hostPlatform.isMusl; + # Lots of tests fail on aarch64-darwin due to "Cannot allocate write+execute memory": + # * https://cffi.readthedocs.io/en/latest/using.html#callbacks + doCheck = !stdenv.hostPlatform.isMusl && !(stdenv.isDarwin && stdenv.isAarch64); checkInputs = [ pytestCheckHook ]; |