about summary refs log tree commit diff
path: root/pkgs/development/python-modules
diff options
context:
space:
mode:
authorDaiderd Jordan <daiderd@gmail.com>2019-02-14 20:42:44 +0100
committerDaiderd Jordan <daiderd@gmail.com>2019-02-14 20:42:44 +0100
commit062290752330533c1c36c93d0de0a930eeebf417 (patch)
tree370b423553c4ce2af5a1240beaeb426816f432d6 /pkgs/development/python-modules
parent0ac83f0857c2edfb79572361fb2673725ff762b3 (diff)
downloadnixlib-062290752330533c1c36c93d0de0a930eeebf417.tar
nixlib-062290752330533c1c36c93d0de0a930eeebf417.tar.gz
nixlib-062290752330533c1c36c93d0de0a930eeebf417.tar.bz2
nixlib-062290752330533c1c36c93d0de0a930eeebf417.tar.lz
nixlib-062290752330533c1c36c93d0de0a930eeebf417.tar.xz
nixlib-062290752330533c1c36c93d0de0a930eeebf417.tar.zst
nixlib-062290752330533c1c36c93d0de0a930eeebf417.zip
pythonPackages.httpretty: fix darwin sandbox build
The tests use localhost networking and get stuck otherwise.
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r--pkgs/development/python-modules/httpretty/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/httpretty/default.nix b/pkgs/development/python-modules/httpretty/default.nix
index 9d03c7528b61..1bcf892cbf47 100644
--- a/pkgs/development/python-modules/httpretty/default.nix
+++ b/pkgs/development/python-modules/httpretty/default.nix
@@ -30,6 +30,8 @@ buildPythonPackage rec {
   ];
   propagatedBuildInputs = [ six ];
 
+  __darwinAllowLocalNetworking = true;
+
   meta = with stdenv.lib; {
     homepage = "https://falcao.it/HTTPretty/";
     description = "HTTP client request mocking tool";