Merge pull request #111496 from SuperSandro2000/cassandra-stdenv-lib
pythonPackages.cassandra-driver: Remove usage of stdenv.lib
This commit is contained in:
commit
ac6ac61e3f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue