From b74384f636cd115242916f0690bf028d6065ddb1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Ribeiro?= Date: Tue, 8 Oct 2024 23:50:34 +0100 Subject: [PATCH] granted: add versionCheckHook --- pkgs/by-name/gr/granted/package.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/by-name/gr/granted/package.nix b/pkgs/by-name/gr/granted/package.nix index c73a9c457092..7da58b9b857d 100644 --- a/pkgs/by-name/gr/granted/package.nix +++ b/pkgs/by-name/gr/granted/package.nix @@ -3,6 +3,7 @@ buildGoModule, fetchFromGitHub, nix-update-script, + versionCheckHook, withFish ? false, fish, @@ -83,6 +84,9 @@ buildGoModule rec { --replace /bin/fish ${fish}/bin/fish ''; + nativeInstallCheckInputs = [ versionCheckHook ]; + doInstallCheck = true; + passthru.updateScript = nix-update-script { }; meta = with lib; {