dufs: fix tests (#585725)

This commit is contained in:
Peder Bergebakken Sundt
2026-11-09 23:49:36 +00:00
committed by GitHub

View File

@@ -1,8 +1,10 @@
{
lib,
aws-lc,
rustPlatform,
fetchFromGitHub,
installShellFiles,
pkg-config,
nixosTests,
stdenv,
cacert,
@@ -23,8 +25,14 @@ rustPlatform.buildRustPackage (finalAttrs: {
nativeBuildInputs = [ installShellFiles ];
nativeCheckInputs = [ pkg-config ];
checkInputs = [ aws-lc ];
__darwinAllowLocalNetworking = true;
# The tests pick free ports in a racy way when run in parallel.
dontUseCargoParallelTests = true;
preCheck = ''
export SSL_CERT_FILE=${cacert}/etc/ssl/certs/ca-bundle.crt
'';