From 985d25ff4c5a6be0b6f47ce4be9a7d623fdae93b Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Wed, 8 Mar 2023 03:49:20 +0100 Subject: [PATCH] python310Packages.google-auth: Fix tests on darwin They try to bind a local socket and get permission denied otherwise. --- pkgs/development/python-modules/google-auth/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/python-modules/google-auth/default.nix b/pkgs/development/python-modules/google-auth/default.nix index c872551dd5ae..eb96d3118918 100644 --- a/pkgs/development/python-modules/google-auth/default.nix +++ b/pkgs/development/python-modules/google-auth/default.nix @@ -96,6 +96,8 @@ buildPythonPackage rec { "tests/transport/test__custom_tls_signer.py" ]; + __darwinAllowLocalNetworking = true; + meta = with lib; { description = "Google Auth Python Library"; longDescription = ''