diff --git a/pkgs/by-name/du/dufs/package.nix b/pkgs/by-name/du/dufs/package.nix index 3feeb18d54e3..bec0a0a62b08 100644 --- a/pkgs/by-name/du/dufs/package.nix +++ b/pkgs/by-name/du/dufs/package.nix @@ -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"