mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
rio: replace gitUpdater with nix-update-script
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
This commit is contained in:
parent
c396132050
commit
06a90883fc
@ -1,7 +1,7 @@
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, rustPlatform
|
||||
, gitUpdater
|
||||
, nix-update-script
|
||||
|
||||
, autoPatchelfHook
|
||||
, pkg-config
|
||||
@ -68,9 +68,8 @@ rustPlatform.buildRustPackage rec {
|
||||
];
|
||||
|
||||
passthru = {
|
||||
updateScript = gitUpdater {
|
||||
rev-prefix = "v";
|
||||
ignoredVersions = ".(rc|beta).*";
|
||||
updateScript = nix-update-script {
|
||||
extraArgs = [ "--version-regex" "v([0-9.]+)" ];
|
||||
};
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user