From b9ce08f7f1220cb895f4c3a09da357bfb31146d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20M=C3=B6ller?= Date: Fri, 13 Sep 2019 17:43:21 +0200 Subject: [PATCH] pythonPackages.h11: fix darwin build --- pkgs/development/python-modules/h11/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/python-modules/h11/default.nix b/pkgs/development/python-modules/h11/default.nix index f77c267d792c..361ac0c59d13 100644 --- a/pkgs/development/python-modules/h11/default.nix +++ b/pkgs/development/python-modules/h11/default.nix @@ -23,6 +23,9 @@ buildPythonPackage rec { py.test ''; + # Some of the tests use localhost networking. + __darwinAllowLocalNetworking = true; + meta = with lib; { description = "Pure-Python, bring-your-own-I/O implementation of HTTP/1.1"; license = licenses.mit;