pythonPackages.python-engineio: Disable tests on darwin
This commit is contained in:
parent
511c7203b0
commit
075da3928b
@ -36,6 +36,8 @@ buildPythonPackage rec {
|
|||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
||||||
|
doCheck = !stdenv.isDarwin;
|
||||||
|
|
||||||
preCheck = stdenv.lib.optionalString stdenv.isLinux ''
|
preCheck = stdenv.lib.optionalString stdenv.isLinux ''
|
||||||
echo "nameserver 127.0.0.1" > resolv.conf
|
echo "nameserver 127.0.0.1" > resolv.conf
|
||||||
export NIX_REDIRECTS=/etc/protocols=${iana-etc}/etc/protocols:/etc/resolv.conf=$(realpath resolv.conf) \
|
export NIX_REDIRECTS=/etc/protocols=${iana-etc}/etc/protocols:/etc/resolv.conf=$(realpath resolv.conf) \
|
||||||
|
Loading…
Reference in New Issue
Block a user