diff --git a/pkgs/build-support/php/build-composer-project.nix b/pkgs/build-support/php/build-composer-project.nix index 778aa35fa6a5..80c63bcde71b 100644 --- a/pkgs/build-support/php/build-composer-project.nix +++ b/pkgs/build-support/php/build-composer-project.nix @@ -57,9 +57,9 @@ let doInstallCheck = previousAttrs.doInstallCheck or false; installCheckPhase = previousAttrs.installCheckPhase or '' - runHook preCheckInstall + runHook preInstallCheck - runHook postCheckInstall + runHook postInstallCheck ''; composerRepository = phpDrv.mkComposerRepository { diff --git a/pkgs/build-support/php/build-composer-repository.nix b/pkgs/build-support/php/build-composer-repository.nix index 5b31f86e61cf..e359c0829aaf 100644 --- a/pkgs/build-support/php/build-composer-repository.nix +++ b/pkgs/build-support/php/build-composer-repository.nix @@ -78,9 +78,9 @@ let doInstallCheck = previousAttrs.doInstallCheck or false; installCheckPhase = previousAttrs.installCheckPhase or '' - runHook preCheckInstall + runHook preInstallCheck - runHook postCheckInstall + runHook postInstallCheck ''; COMPOSER_CACHE_DIR = "/dev/null";