diff --git a/pkgs/applications/networking/shellhub-agent/default.nix b/pkgs/applications/networking/shellhub-agent/default.nix index d15d2d4b71be..7e0ea7e81562 100644 --- a/pkgs/applications/networking/shellhub-agent/default.nix +++ b/pkgs/applications/networking/shellhub-agent/default.nix @@ -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;