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