Commit 12741f2c authored by Pol Dellaiera's avatar Pol Dellaiera
Browse files

build-support/php: add `installCheckPhase`

parent 6b37f750
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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;
+6 −0
Original line number Diff line number Diff line
@@ -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";