shellhub-agent: replace gitUpdater with nix-update-script
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
This commit is contained in:
parent
b01691173e
commit
600ea898ec
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue