about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2024-03-03T15·46+0200
committerclbot <clbot@tvl.fyi>2024-03-03T17·43+0000
commit4954a39de4d4e2019ab0d6a6d736149f2c7c8e29 (patch)
treecd27c41906bd8ef1d41cfdc8c807e8d62bd7b308
parent0b396553d6ba6223ee7c19e0d29480972d2d0fc7 (diff)
fix(tvix/castore): also set SSL_CERT_FILE for tests there r/7650
For everything using reqwest here during test cases, we also need to
set SSL_CERT_FILE.

Change-Id: If8aeda65f3d75cb9ac5c9bc64e37a0cb7dffc17c
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11092
Autosubmit: flokli <flokli@flokli.de>
Reviewed-by: raitobezarius <tvl@lahfa.xyz>
Tested-by: BuildkiteCI
-rw-r--r--tvix/castore/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/tvix/castore/default.nix b/tvix/castore/default.nix
index 09f6c0bea3..efa4da59c6 100644
--- a/tvix/castore/default.nix
+++ b/tvix/castore/default.nix
@@ -2,4 +2,7 @@
 
 depot.tvix.crates.workspaceMembers.tvix-castore.build.override {
   runTests = true;
+  testPreRun = ''
+    export SSL_CERT_FILE=${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt;
+  '';
 }