Commit 600ea898 authored by Otavio Salvador's avatar Otavio Salvador
Browse files

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

parent b0169117
Loading
Loading
Loading
Loading
+2 −5
Original line number Diff line number Diff line
{ 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;