cargo-nextest: skip unstable versions in updateScript (#481722)

This commit is contained in:
nixpkgs-ci[bot]
2026-01-20 07:11:35 +00:00
committed by GitHub
+4 -2
View File
@@ -13,7 +13,7 @@ rustPlatform.buildRustPackage rec {
src = fetchFromGitHub {
owner = "nextest-rs";
repo = "nextest";
rev = "cargo-nextest-${version}";
tag = "cargo-nextest-${version}";
hash = "sha256-Ff9GibY6pm7+NbgAB8iNO+uj+uK1sxU+UkaiIS5BLEk=";
};
@@ -33,7 +33,9 @@ rustPlatform.buildRustPackage rec {
"cargo-nextest"
];
passthru.updateScript = nix-update-script { };
passthru.updateScript = nix-update-script {
extraArgs = [ "--version-regex=^cargo-nextest-([0-9.]+)$" ];
};
meta = {
description = "Next-generation test runner for Rust projects";