python313Packages.swift: use libredirect.hook

This commit is contained in:
Sandro Jäckel
2025-02-27 19:18:18 +01:00
parent 3ef0a38a05
commit 19678740fe
@@ -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