about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDaiderd Jordan <daiderd@gmail.com>2019-09-20 22:01:15 +0200
committerGitHub <noreply@github.com>2019-09-20 22:01:15 +0200
commit463703c2135e88387a1a9e90a219d23cd44bf97a (patch)
treef43fba981e132ed0fc7aeadc43032f81d0786d0f
parentc545e85de875d54a71d15983cbdc4dba46a5eb44 (diff)
parent5347a8038af081a52e485bcefe850243850ea9e8 (diff)
Merge pull request #68883 from B4dM4n/cheroot-darwin
cheroot: fix darwin sandbox build
-rw-r--r--pkgs/development/python-modules/cheroot/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/cheroot/default.nix b/pkgs/development/python-modules/cheroot/default.nix
index 591bb0fbe3778..9b3050942a88f 100644
--- a/pkgs/development/python-modules/cheroot/default.nix
+++ b/pkgs/development/python-modules/cheroot/default.nix
@@ -34,6 +34,9 @@ buildPythonPackage rec {
     pytest -k 'not tls' ${lib.optionalString stdenv.isDarwin "--deselect=cheroot/test/test_ssl.py::test_http_over_https_error --deselect=cheroot/test/test_server.py::test_bind_addr_unix"}
   '';
 
+  # Some of the tests use localhost networking.
+  __darwinAllowLocalNetworking = true;
+
   meta = with lib; {
     description = "High-performance, pure-Python HTTP";
     homepage = https://github.com/cherrypy/cheroot;