diff --git a/pkgs/by-name/go/go-task/package.nix b/pkgs/by-name/go/go-task/package.nix index 4a122d634874..17f4c91658a4 100644 --- a/pkgs/by-name/go/go-task/package.nix +++ b/pkgs/by-name/go/go-task/package.nix @@ -3,6 +3,7 @@ , fetchFromGitHub , installShellFiles , testers +, nix-update-script , go-task }: @@ -46,10 +47,14 @@ buildGoModule rec { --replace-fail '#compdef task' '#compdef task go-task' ''; - passthru.tests = { - version = testers.testVersion { - package = go-task; + passthru = { + tests = { + version = testers.testVersion { + package = go-task; + }; }; + + updateScript = nix-update-script { }; }; meta = with lib; {