From d697e418f5196313deefb47b07e064278015fabc Mon Sep 17 00:00:00 2001 From: Pavel Borzenkov Date: Tue, 30 Jun 2026 15:24:42 +0200 Subject: [PATCH] ghr-cli: do version check --- pkgs/by-name/gh/ghr-cli/package.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/by-name/gh/ghr-cli/package.nix b/pkgs/by-name/gh/ghr-cli/package.nix index e66d4997aa64..1b5c81832a3f 100644 --- a/pkgs/by-name/gh/ghr-cli/package.nix +++ b/pkgs/by-name/gh/ghr-cli/package.nix @@ -4,6 +4,7 @@ fetchFromGitHub, nix-update-script, gitMinimal, + versionCheckHook, }: rustPlatform.buildRustPackage (finalAttrs: { @@ -27,6 +28,12 @@ rustPlatform.buildRustPackage (finalAttrs: { gitMinimal ]; + doInstallCheck = true; + + nativeInstallCheckInputs = [ + versionCheckHook + ]; + meta = { description = "Fast terminal workspace for staying on top of GitHub"; homepage = "https://catcoding.me/ghr/";