temporal: Add versionCheckHook

This commit is contained in:
Jonathan Davies
2026-01-04 13:36:47 +00:00
parent ecfa2c8f01
commit aaa57eda49
+7
View File
@@ -5,6 +5,7 @@
nixosTests,
testers,
temporal,
versionCheckHook,
}:
buildGoModule rec {
@@ -47,6 +48,12 @@ buildGoModule rec {
runHook postInstall
'';
nativeInstallCheckInputs = [
versionCheckHook
];
versionCheckProgramArg = "--version";
doInstallCheck = true;
passthru.tests = {
inherit (nixosTests) temporal;
version = testers.testVersion {