test: set SSL_CERT_FILE and NIX_SSL_CERT_FILE so test works in pure mode

This commit is contained in:
technofab 2025-10-01 17:08:49 +02:00
parent c9618a4d9b
commit 56d22f4aa1
Signed by: technofab
SSH key fingerprint: SHA256:bV4h88OqS/AxjbPn66uUdvK9JsgIW4tv3vwJQ8tpMqQ

View file

@ -72,6 +72,8 @@
''
${ntlib.helpers.path [pkgs.gnugrep pkgs.mktemp pkgs.coreutils]}
${ntlib.helpers.scriptHelpers}
export SSL_CERT_FILE=${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt
export NIX_SSL_CERT_FILE=${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt
cp -r ${./../snapshots} snapshots
# start without nix & env binaries to expect errors