emilua: add versionCheckHook

This commit is contained in:
Gaetan Lepage
2025-04-19 00:06:31 +02:00
parent 1b6c3ba550
commit 871de71ac7
@@ -22,6 +22,7 @@
cmake,
asciidoctor,
makeWrapper,
versionCheckHook,
gitUpdater,
enableIoUring ? false,
emilua, # this package
@@ -119,6 +120,12 @@ stdenv.mkDerivation (finalAttrs: {
--replace-fail @sitePackages@ "${finalAttrs.passthru.sitePackages}"
'';
nativeInstallCheckInputs = [
versionCheckHook
];
versionCheckProgramArg = "--version";
doInstallCheck = true;
passthru = {
updateScript = gitUpdater { rev-prefix = "v"; };
inherit boost;