about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFabian Möller <fabianm88@gmail.com>2019-09-14 00:19:46 +0200
committerFabian Möller <fabianm88@gmail.com>2019-09-14 00:19:46 +0200
commit155a0a07f4bfd570afff41495f55110c23387ecf (patch)
treed3fecd289e263ddaf9adbd84f73587e146129107
parent2a10e8fef5f13a4b941fedd21e26f75dd291c108 (diff)
downloadnixlib-155a0a07f4bfd570afff41495f55110c23387ecf.tar
nixlib-155a0a07f4bfd570afff41495f55110c23387ecf.tar.gz
nixlib-155a0a07f4bfd570afff41495f55110c23387ecf.tar.bz2
nixlib-155a0a07f4bfd570afff41495f55110c23387ecf.tar.lz
nixlib-155a0a07f4bfd570afff41495f55110c23387ecf.tar.xz
nixlib-155a0a07f4bfd570afff41495f55110c23387ecf.tar.zst
nixlib-155a0a07f4bfd570afff41495f55110c23387ecf.zip
pythonPackages.webtest: fix darwin build
-rw-r--r--pkgs/development/python-modules/webtest/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/webtest/default.nix b/pkgs/development/python-modules/webtest/default.nix
index d8482872bc34..f3d60253ae47 100644
--- a/pkgs/development/python-modules/webtest/default.nix
+++ b/pkgs/development/python-modules/webtest/default.nix
@@ -30,6 +30,9 @@ buildPythonPackage rec {
 
   checkInputs = [ nose mock PasteDeploy wsgiproxy2 pyquery ];
 
+  # Some of the tests use localhost networking.
+  __darwinAllowLocalNetworking = true;
+
   meta = with stdenv.lib; {
     description = "Helper to test WSGI applications";
     homepage = https://webtest.readthedocs.org/en/latest/;