diff options
-rw-r--r-- | pkgs/applications/networking/shellhub-agent/default.nix | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/pkgs/applications/networking/shellhub-agent/default.nix b/pkgs/applications/networking/shellhub-agent/default.nix index d15d2d4b71beb..7e0ea7e815626 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; |