moor: add versionCheckHook

This commit is contained in:
Seth Flynn
2025-10-20 10:02:31 -04:00
parent fedfddc5c4
commit 2635b47539
+4
View File
@@ -4,6 +4,7 @@
fetchFromGitHub,
installShellFiles,
nix-update-script,
versionCheckHook,
}:
buildGoModule (finalAttrs: {
@@ -28,6 +29,9 @@ buildGoModule (finalAttrs: {
"main.versionString=v${finalAttrs.version}"
];
nativeInstallCheckInputs = [ versionCheckHook ];
doInstallCheck = true;
postInstall = ''
installManPage ./moor.1
'';