emilua: add versionCheckHook
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user