aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development
diff options
context:
space:
mode:
authorFabian Möller <fabianm88@gmail.com>2019-09-14 13:35:35 +0200
committerFabian Möller <fabianm88@gmail.com>2019-09-14 13:35:35 +0200
commit9d1de74063d2dd7fae1dfc4dd2cbeb9834931bc0 (patch)
tree2ed45e4fbcf46f1fae14ba2ecb1f576a0d9d8426 /pkgs/development
parent2a10e8fef5f13a4b941fedd21e26f75dd291c108 (diff)
pythonPackages.portend: fix darwin build
Diffstat (limited to 'pkgs/development')
-rw-r--r--pkgs/development/python-modules/portend/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/portend/default.nix b/pkgs/development/python-modules/portend/default.nix
index 5da7a7941c0..7aa66c2a309 100644
--- a/pkgs/development/python-modules/portend/default.nix
+++ b/pkgs/development/python-modules/portend/default.nix
@@ -24,6 +24,9 @@ buildPythonPackage rec {
py.test --deselect=test_portend.py::TestChecker::test_check_port_listening
'';
+ # Some of the tests use localhost networking.
+ __darwinAllowLocalNetworking = true;
+
meta = with stdenv.lib; {
description = "Monitor TCP ports for bound or unbound states";
homepage = https://github.com/jaraco/portend;