about summary refs log tree commit diff
path: root/tests/init.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/init.sh')
-rw-r--r--tests/init.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/init.sh b/tests/init.sh
index 9ce7985d709e..4296f43b6108 100644
--- a/tests/init.sh
+++ b/tests/init.sh
@@ -47,7 +47,9 @@ EOF
 cat > $NIX_BIN_DIR/nix/substituters/download-using-manifests.pl <<EOF
 #! $SHELL -e
 export DYLD_LIBRARY_PATH=
-exec $TOP/scripts/download-using-manifests.pl "\$@"
+exec "$top_builddir/libtool" --mode=execute			\
+  -dlopen "$top_builddir/perl/libNixStore.la"			\
+  "$top_builddir/scripts/download-using-manifests.pl" "\$@"
 EOF
 chmod +x $NIX_BIN_DIR/nix/substituters/download-using-manifests.pl