rio: replace gitUpdater with nix-update-script

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
This commit is contained in:
Otavio Salvador 2023-07-15 23:09:29 -03:00 committed by Anderson Torres
parent c396132050
commit 06a90883fc

View File

@ -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.]+)" ];
};
};