diff --git a/pkgs/development/python-modules/dnspython/default.nix b/pkgs/development/python-modules/dnspython/default.nix index fa2a2565e9164..a41087b49d6eb 100644 --- a/pkgs/development/python-modules/dnspython/default.nix +++ b/pkgs/development/python-modules/dnspython/default.nix @@ -1,4 +1,5 @@ { + stdenv, lib, aioquic, buildPythonPackage, @@ -55,6 +56,11 @@ buildPythonPackage rec { checkInputs = [ cacert ] ++ optional-dependencies.DNSSEC; + # don't run live tests + env = lib.optionalAttrs stdenv.hostPlatform.isDarwin { + NO_INTERNET = 1; + }; + disabledTests = [ # dns.exception.SyntaxError: protocol not found "test_misc_good_WKS_text"