Skip to content

Commit

Permalink
n98-magerun2: add versionCheckHook
Browse files Browse the repository at this point in the history
(cherry picked from commit b509768)
  • Loading branch information
piotrkwiecinski authored and github-actions[bot] committed Jan 5, 2025
1 parent c4961f9 commit 2533182
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkgs/by-name/n9/n98-magerun2/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
lib,
fetchFromGitHub,
php,
versionCheckHook,
}:

php.buildComposerProject2 (finalAttrs: {
Expand All @@ -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";
Expand Down

0 comments on commit 2533182

Please sign in to comment.