Unverified Commit 0dd045ea authored by Jonathan Davies's avatar Jonathan Davies
Browse files

thanos: Add versionCheckHook

parent ee5376fb
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -7,6 +7,7 @@
  nixosTests,
  testers,
  thanos,
  versionCheckHook,
}:

buildGoModule rec {
@@ -45,6 +46,12 @@ buildGoModule rec {

  doCheck = true;

  nativeInstallCheckInputs = [
    versionCheckHook
  ];
  versionCheckProgramArg = "--version";
  doInstallCheck = true;

  passthru = {
    updateScript = nix-update-script { };
    tests = {