thanos: Add versionCheckHook
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user