pythonPackages.python-engineio: Disable tests on darwin

This commit is contained in:
Sandro Jäckel 2021-01-06 20:51:35 +01:00
parent 511c7203b0
commit 075da3928b
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

View file

@ -36,6 +36,8 @@ buildPythonPackage rec {
pytestCheckHook
];
doCheck = !stdenv.isDarwin;
preCheck = stdenv.lib.optionalString stdenv.isLinux ''
echo "nameserver 127.0.0.1" > resolv.conf
export NIX_REDIRECTS=/etc/protocols=${iana-etc}/etc/protocols:/etc/resolv.conf=$(realpath resolv.conf) \