nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

Merge pull request #236513 from NixOS/backport-235288-to-release-23.05

[Backport release-23.05] cargo-msrv: avoid updating rc and beta releases

authored by

Nick Cao and committed by
GitHub
122b4ef8 34a1fc81

+5 -2
+5 -2
pkgs/development/tools/rust/cargo-msrv/default.nix
··· 1 1 { lib 2 2 , rustPlatform 3 3 , fetchFromGitHub 4 - , nix-update-script 5 4 , pkg-config 6 5 , rustup 7 6 , openssl ··· 8 9 , libiconv 9 10 , Security 10 11 , makeWrapper 12 + , gitUpdater 11 13 }: 12 14 13 15 rustPlatform.buildRustPackage rec { ··· 25 25 cargoSha256 = "sha256-/Bspy94uIP/e4uJY8qo+UPK1tnPjglxiMWeYWx2qoHk="; 26 26 27 27 passthru = { 28 - updateScript = nix-update-script { }; 28 + updateScript = gitUpdater { 29 + rev-prefix = "v"; 30 + ignoredVersions = ".(rc|beta).*"; 31 + }; 29 32 }; 30 33 31 34 # Integration tests fail