Skip to content

Commit 1a23004

Browse files
authored
Add preCheck for SSL_CERT_FILE for nix profile install and flake on (#12)
systems without existing path
1 parent 5ad3d83 commit 1a23004

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

flake.nix

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@
5151
darwin.apple_sdk.frameworks.CoreServices
5252
];
5353

54+
preCheck = ''
55+
export SSL_CERT_FILE=${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt
56+
'';
5457
checkFlags = [
5558
"--skip=tokenizer::tests::test_hf_counter"
5659
];

0 commit comments

Comments
 (0)