openethereum: fix tests

This commit is contained in:
Pascal Bach 2021-01-21 09:26:23 +01:00
parent bbe2fbe929
commit b079e2e93c

View File

@ -37,8 +37,14 @@ rustPlatform.buildRustPackage rec {
cargoBuildFlags = [ "--features final" ];
# test result: FAILED. 88 passed; 13 failed; 0 ignored; 0 measured; 0 filtered out
doCheck = false;
# Fix tests by preventing them from writing to /homeless-shelter.
preCheck = ''
export HOME=$(mktemp -d)
'';
# Exclude some tests that don't work in the sandbox
# - Nat test requires network access
checkFlags = "--skip configuration::tests::should_resolve_external_nat_hosts";
meta = with lib; {
description = "Fast, light, robust Ethereum implementation";