thanos: Add versionCheckHook

This commit is contained in:
Jonathan Davies
2025-11-06 12:45:37 +00:00
parent ee5376fb58
commit 0dd045ea6f
+7
View File
@@ -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 = {