From 56d22f4aa1c3f281a0cd26acd7aa2ed426ef6fe5 Mon Sep 17 00:00:00 2001 From: technofab Date: Wed, 1 Oct 2025 17:08:49 +0200 Subject: [PATCH] test: set SSL_CERT_FILE and NIX_SSL_CERT_FILE so test works in pure mode --- tests/lib_test.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/lib_test.nix b/tests/lib_test.nix index 969e9a2..85a3c7a 100644 --- a/tests/lib_test.nix +++ b/tests/lib_test.nix @@ -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