python3Packages.eventlet: fix build on darwin

conduit-nginx
misuzu 2021-10-21 15:54:26 +03:00
parent 5f0194220f
commit cbe5b1f7cd
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ buildPythonPackage rec {
doCheck = !stdenv.isDarwin;
preCheck = ''
preCheck = lib.optionalString doCheck ''
echo "nameserver 127.0.0.1" > resolv.conf
export NIX_REDIRECTS=/etc/protocols=${iana-etc}/etc/protocols:/etc/resolv.conf=$(realpath resolv.conf)
export LD_PRELOAD=${libredirect}/lib/libredirect.so