From ca8728859a95baf0b74b8c7715f8c68a2ae296ef Mon Sep 17 00:00:00 2001 From: Doron Behar Date: Sun, 2 Feb 2025 14:32:13 +0200 Subject: [PATCH] hydra-check: add versionCheckHook --- pkgs/by-name/hy/hydra-check/package.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/by-name/hy/hydra-check/package.nix b/pkgs/by-name/hy/hydra-check/package.nix index 46823dab7d69..dd1e363c7f1a 100644 --- a/pkgs/by-name/hy/hydra-check/package.nix +++ b/pkgs/by-name/hy/hydra-check/package.nix @@ -6,6 +6,7 @@ openssl, stdenv, installShellFiles, + versionCheckHook, }: rustPlatform.buildRustPackage rec { @@ -37,6 +38,12 @@ rustPlatform.buildRustPackage rec { --zsh <($out/bin/hydra-check --shell-completion zsh) ''; + nativeInstallCheckInputs = [ + versionCheckHook + ]; + + doInstallCheck = true; + meta = { description = "Check hydra for the build status of a package"; homepage = "https://github.com/nix-community/hydra-check";