diff --git a/pkgs/tools/networking/corerad/default.nix b/pkgs/tools/networking/corerad/default.nix index fd6fee9a2a7c..b0a65f59189c 100644 --- a/pkgs/tools/networking/corerad/default.nix +++ b/pkgs/tools/networking/corerad/default.nix @@ -1,4 +1,4 @@ -{ lib, buildGoModule, fetchFromGitHub, nixosTests }: +{ lib, buildGoModule, fetchFromGitHub, nixosTests, gitUpdater }: buildGoModule rec { pname = "corerad"; @@ -21,8 +21,11 @@ buildGoModule rec { ldflags+=" -X github.com/mdlayher/corerad/internal/build.linkTimestamp=$(<.gittagtime)" ''; - passthru.tests = { - inherit (nixosTests) corerad; + passthru = { + updateScript = gitUpdater { rev-prefix = "v"; }; + tests = { + inherit (nixosTests) corerad; + }; }; meta = with lib; {