about summary refs log tree commit diff
path: root/pkgs/development/python-modules/google-auth/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/google-auth/default.nix')
-rw-r--r--pkgs/development/python-modules/google-auth/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/google-auth/default.nix b/pkgs/development/python-modules/google-auth/default.nix
index 5556429082f1..30ea8208ff8e 100644
--- a/pkgs/development/python-modules/google-auth/default.nix
+++ b/pkgs/development/python-modules/google-auth/default.nix
@@ -84,7 +84,7 @@ buildPythonPackage rec {
     "google.oauth2"
   ];
 
-  disabledTestPaths = lib.optionals (stdenv.isDarwin && stdenv.isAarch64) [
+  disabledTestPaths = lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) [
     # Disable tests using pyOpenSSL as it does not build on M1 Macs
     "tests/transport/test__mtls_helper.py"
     "tests/transport/test_requests.py"