dufs: fix build by adding cacert to preCheck (#526701)

This commit is contained in:
Peder Bergebakken Sundt
2026-06-07 18:03:41 +00:00
committed by GitHub
+5
View File
@@ -4,6 +4,7 @@
fetchFromGitHub,
installShellFiles,
stdenv,
cacert,
}:
rustPlatform.buildRustPackage (finalAttrs: {
@@ -23,6 +24,10 @@ rustPlatform.buildRustPackage (finalAttrs: {
__darwinAllowLocalNetworking = true;
preCheck = ''
export SSL_CERT_FILE=${cacert}/etc/ssl/certs/ca-bundle.crt
'';
checkFlags = [
# tests depend on network interface, may fail with virtual IPs.
"--skip=validate_printed_urls"