pythonPackages.cassandra-driver: Remove usage of stdenv.lib

This commit is contained in:
Sandro Jäckel 2021-01-31 22:43:23 +01:00
parent 44b07653bd
commit 98f8216f6c
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -38,7 +38,7 @@ buildPythonPackage rec {
# Make /etc/protocols accessible to allow socket.getprotobyname('tcp') in sandbox,
# also /etc/resolv.conf is referenced by some tests
preCheck = (stdenv.lib.optionalString stdenv.isLinux ''
preCheck = (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)
export LD_PRELOAD=${libredirect}/lib/libredirect.so