diff --git a/pkgs/by-name/po/pop/package.nix b/pkgs/by-name/po/pop/package.nix index 8e01b0cf022f..3f13356c8a81 100644 --- a/pkgs/by-name/po/pop/package.nix +++ b/pkgs/by-name/po/pop/package.nix @@ -4,6 +4,8 @@ buildGoModule, installShellFiles, fetchFromGitHub, + versionCheckHook, + nix-update-script, }: buildGoModule (finalAttrs: { @@ -40,6 +42,13 @@ buildGoModule (finalAttrs: { --zsh <($out/bin/pop completion zsh) ''; + nativeInstallCheckInputs = [ + versionCheckHook + ]; + doInstallCheck = true; + + passthru.updateScript = nix-update-script { }; + meta = { description = "Send emails from your terminal"; homepage = "https://github.com/charmbracelet/pop";