mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-20 03:43:45 +00:00
Merge pull request #235288 from otavio/fix/cargo-msrv
cargo-msrv: avoid updating rc and beta releases
This commit is contained in:
commit
228833432d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user