diff --git a/pkgs/by-name/at/athens/package.nix b/pkgs/by-name/at/athens/package.nix index 55ab92826851..f2980e7d0086 100644 --- a/pkgs/by-name/at/athens/package.nix +++ b/pkgs/by-name/at/athens/package.nix @@ -2,8 +2,8 @@ lib, fetchFromGitHub, buildGoModule, - testers, - athens, + nix-update-script, + versionCheckHook, }: buildGoModule (finalAttrs: { @@ -31,9 +31,10 @@ buildGoModule (finalAttrs: { mv $out/bin/proxy $out/bin/athens ''; - passthru = { - tests.version = testers.testVersion { package = athens; }; - }; + doInstallCheck = true; + nativeInstallCheckInputs = [ versionCheckHook ]; + + passthru.updateScript = nix-update-script { }; meta = { description = "Go module datastore and proxy";