From 3f461ca802a9b5944878fb30c8c30562c800f5f7 Mon Sep 17 00:00:00 2001 From: dichgrem Date: Mon, 23 Mar 2026 19:54:43 +0800 Subject: [PATCH] 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. --- pkgs/by-name/ru/rumdl/package.nix | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/pkgs/by-name/ru/rumdl/package.nix b/pkgs/by-name/ru/rumdl/package.nix index f2c1bc5c36b9..2bc1beda9f0e 100644 --- a/pkgs/by-name/ru/rumdl/package.nix +++ b/pkgs/by-name/ru/rumdl/package.nix @@ -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"