rumdl: 0.1.42 -> 0.1.58

The cli_* integration test target no longer exists in 0.1.58,
causing the build to fail with "no test target matches pattern cli_*".
Switch cargoTestFlags from --bins --test cli_* to --lib,
while keeping --profile smoke to reduce test count and avoid flaky tests.
This commit is contained in:
dichgrem
2026-03-24 09:06:38 +08:00
parent 35f9457e2f
commit 3f461ca802
+6 -9
View File
@@ -11,16 +11,16 @@
rustPlatform.buildRustPackage (finalAttrs: {
pname = "rumdl";
version = "0.1.42";
version = "0.1.58";
src = fetchFromGitHub {
owner = "rvben";
repo = "rumdl";
tag = "v${finalAttrs.version}";
hash = "sha256-zOLNfZ8TrBIUVkoQT+GxSc4z48+IEx8RnURRgWooqt8=";
hash = "sha256-cGj+YNwrglxBiFwR7Tx/ntuJc8p1JwmiZdmLyTnrJwQ=";
};
cargoHash = "sha256-YhjDn5UIydP6jwxUiQy+jcTGWRD0HfcVxHtacka94Wg=";
cargoHash = "sha256-hFdA/M9X46+uQl6/JTohCiMq2JLHuBjz6s6e7yTBRUI=";
cargoBuildFlags = [
"--bin=rumdl"
@@ -34,15 +34,12 @@ rustPlatform.buildRustPackage (finalAttrs: {
gitMinimal
];
__darwinAllowLocalNetworking = true;
useNextest = true;
cargoTestFlags = [
"--bins"
# Building all tests takes too long, and filtering by profile does not solve it.
# It also causes flaky results on Darwin in Hydra.
"--test"
"cli_*"
"--lib"
# Prefer the "smoke" profile over "ci" to exclude flaky tests: https://github.com/rvben/rumdl/pull/341
"--profile"