n98-magerun2: add versionCheckHook

This commit is contained in:
Piotr Kwiecinski
2025-01-05 12:59:27 +01:00
parent 6c07f97514
commit b509768ce6
+5
View File
@@ -2,6 +2,7 @@
lib,
fetchFromGitHub,
php,
versionCheckHook,
}:
php.buildComposerProject2 (finalAttrs: {
@@ -17,6 +18,10 @@ php.buildComposerProject2 (finalAttrs: {
vendorHash = "sha256-KULTijHG5717dDOfvB4yR+ztrB+mbYaosgmg8aV/GAs=";
nativeInstallCheckInputs = [ versionCheckHook ];
versionCheckProgramArg = "--version";
doInstallCheck = true;
meta = {
changelog = "https://magerun.net/category/magerun/";
description = "Swiss army knife for Magento2 developers";