Commit ca872885 authored by Doron Behar's avatar Doron Behar
Browse files

hydra-check: add versionCheckHook

parent a49761e3
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -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";