diff options
| -rw-r--r-- | pkgs/development/tools/rust/cargo-msrv/default.nix | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgs/development/tools/rust/cargo-msrv/default.nix b/pkgs/development/tools/rust/cargo-msrv/default.nix index 55d57f1bfcb6..e8476474c03f 100644 --- a/pkgs/development/tools/rust/cargo-msrv/default.nix +++ b/pkgs/development/tools/rust/cargo-msrv/default.nix @@ -1,7 +1,6 @@ { lib , rustPlatform , fetchFromGitHub -, nix-update-script , pkg-config , rustup , openssl @@ -9,6 +8,7 @@ , libiconv , Security , makeWrapper +, gitUpdater }: rustPlatform.buildRustPackage rec { @@ -25,7 +25,10 @@ rustPlatform.buildRustPackage rec { cargoSha256 = "sha256-/Bspy94uIP/e4uJY8qo+UPK1tnPjglxiMWeYWx2qoHk="; passthru = { - updateScript = nix-update-script { }; + updateScript = gitUpdater { + rev-prefix = "v"; + ignoredVersions = ".(rc|beta).*"; + }; }; # Integration tests fail |
