python3Packages.eventlet: fix build on darwin
This commit is contained in:
parent
5f0194220f
commit
cbe5b1f7cd
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user