shellhub-agent: replace gitUpdater with nix-update-script

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
This commit is contained in:
Otavio Salvador 2023-08-03 10:43:49 -03:00
parent b01691173e
commit 600ea898ec

View File

@ -1,7 +1,7 @@
{ lib
, buildGoModule
, fetchFromGitHub
, gitUpdater
, nix-update-script
, makeWrapper
, openssh
, libxcrypt
@ -27,10 +27,7 @@ buildGoModule rec {
ldflags = [ "-s" "-w" "-X main.AgentVersion=v${version}" ];
passthru = {
updateScript = gitUpdater {
rev-prefix = "v";
ignoredVersions = ".(rc|beta).*";
};
updateScript = nix-update-script { };
tests.version = testers.testVersion {
package = shellhub-agent;