cargonode: refactor
skip specific network-dependent tests during checks.
This commit is contained in:
@@ -4,7 +4,6 @@
|
||||
fetchFromGitHub,
|
||||
pkg-config,
|
||||
bzip2,
|
||||
git,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
@@ -20,16 +19,19 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
cargoHash = "sha256-v+Fs2VJrpnIOk9nPRanYYChlR7WOfkXF1kbYOKjOUYc=";
|
||||
|
||||
doCheck = false;
|
||||
checkFlags = [
|
||||
# Skip test that requires network access
|
||||
"--skip test_download_file"
|
||||
"--skip test_extract_zip"
|
||||
"--skip test_invalid_download_url"
|
||||
"--skip test_create_package"
|
||||
"--skip test_init_package"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
git
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Unified tooling for Node.js";
|
||||
mainProgram = "cargonode";
|
||||
|
||||
Reference in New Issue
Block a user