python313Packages.swift: use libredirect.hook
This commit is contained in:
@@ -53,6 +53,7 @@ buildPythonPackage rec {
|
||||
|
||||
nativeCheckInputs = [
|
||||
boto3
|
||||
libredirect.hook
|
||||
mock
|
||||
stestr
|
||||
swiftclient
|
||||
@@ -68,7 +69,6 @@ buildPythonPackage rec {
|
||||
checkPhase = ''
|
||||
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
|
||||
|
||||
export SWIFT_TEST_CONFIG_FILE=test/sample.conf
|
||||
|
||||
|
||||
Reference in New Issue
Block a user