build-support/php: add installCheckPhase
This commit is contained in:
parent
6b37f75089
commit
12741f2c30
2 changed files with 12 additions and 0 deletions
pkgs/build-support/php
|
@ -53,6 +53,12 @@ let
|
|||
runHook postInstall
|
||||
'';
|
||||
|
||||
installCheckPhase = previousAttrs.installCheckPhase or ''
|
||||
runHook preCheckInstall
|
||||
|
||||
runHook postCheckInstall
|
||||
'';
|
||||
|
||||
composerRepository = phpDrv.mkComposerRepository {
|
||||
inherit composer composer-local-repo-plugin;
|
||||
inherit (finalAttrs) patches pname src vendorHash version;
|
||||
|
|
|
@ -74,6 +74,12 @@ let
|
|||
runHook postInstall
|
||||
'';
|
||||
|
||||
installCheckPhase = previousAttrs.installCheckPhase or ''
|
||||
runHook preCheckInstall
|
||||
|
||||
runHook postCheckInstall
|
||||
'';
|
||||
|
||||
COMPOSER_CACHE_DIR = "/dev/null";
|
||||
COMPOSER_MIRROR_PATH_REPOS = "1";
|
||||
COMPOSER_HTACCESS_PROTECT = "0";
|
||||
|
|
Loading…
Reference in a new issue