summary refs log tree commit diff
diff options
context:
space:
mode:
authorhappysalada <raphael@megzari.com>2022-03-17 20:20:31 -0400
committerYt <raphael@megzari.com>2022-03-17 22:30:55 -0400
commit027787bb532d9900d413e55ec837f3198f594423 (patch)
tree03419600c5b97378cd587b0b75b876dd8bb4f8b2
parent4e630bb272defb86d3d68a023574cd3411cb9af1 (diff)
downloadnixpkgs-027787bb532d9900d413e55ec837f3198f594423.tar
nixpkgs-027787bb532d9900d413e55ec837f3198f594423.tar.gz
nixpkgs-027787bb532d9900d413e55ec837f3198f594423.tar.bz2
nixpkgs-027787bb532d9900d413e55ec837f3198f594423.tar.lz
nixpkgs-027787bb532d9900d413e55ec837f3198f594423.tar.xz
nixpkgs-027787bb532d9900d413e55ec837f3198f594423.tar.zst
nixpkgs-027787bb532d9900d413e55ec837f3198f594423.zip
pythonPackages.google-auth: fix darwin aarch64 build
-rw-r--r--pkgs/development/python-modules/google-auth/default.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/google-auth/default.nix b/pkgs/development/python-modules/google-auth/default.nix
index c7fcb1a48ed..203053d53cd 100644
--- a/pkgs/development/python-modules/google-auth/default.nix
+++ b/pkgs/development/python-modules/google-auth/default.nix
@@ -59,6 +59,15 @@ buildPythonPackage rec {
     "test_request_headers"
     "test_request_error"
     "test_request_basic"
+  ] ++ lib.optionals (stdenv.isDarwin && stdenv.isAarch64) [
+    # E MemoryError: Cannot allocate write+execute memory for ffi.callback().
+    # You might be running on a system that prevents this.
+    # For more information, see https://cffi.readthedocs.io/en/latest/using.html#callbacks
+    "test_configure_mtls_channel_with_callback"
+    "test_configure_mtls_channel_with_metadata"
+    "TestDecryptPrivateKey"
+    "TestMakeMutualTlsHttp"
+    "TestMutualTlsAdapter"
   ];
 
   meta = with lib; {