From 062290752330533c1c36c93d0de0a930eeebf417 Mon Sep 17 00:00:00 2001 From: Daiderd Jordan Date: Thu, 14 Feb 2019 20:42:44 +0100 Subject: [PATCH] pythonPackages.httpretty: fix darwin sandbox build The tests use localhost networking and get stuck otherwise. --- pkgs/development/python-modules/httpretty/default.nix | 2 ++ 1 file changed, 2 insertions(+) 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";