pythonPackages.zeroconf: Fix tests on darwin

This commit is contained in:
Sandro Jäckel 2021-01-03 06:39:01 +01:00
parent 95809a7182
commit a38dd8cca7
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

View file

@ -1,4 +1,5 @@
{ lib
{ stdenv
, lib
, buildPythonPackage
, fetchPypi
, ifaddr
@ -29,7 +30,10 @@ buildPythonPackage rec {
"test_launch_and_close_v4_v6"
"test_launch_and_close_v6_only"
"test_integration_with_listener_ipv6"
] ++ lib.optionals stdenv.isDarwin [
"test_lots_of_names"
];
__darwinAllowLocalNetworking = true;
pythonImportsCheck = [ "zeroconf" ];