mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-12-04 03:40:18 +00:00
dufs: fix tests (#585725)
This commit is contained in:
@@ -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
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user