From 043a094c3bd1b85742079a5c589beaaa5f7f47aa Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Thu, 5 Oct 2023 22:41:48 +0200 Subject: [PATCH] php.buildComposerProject: add missing `COMPOSER_ROOT_VERSION` env var. This is mostly required for vimeo/psalm It doesn't harm anything to add it anyway --- pkgs/build-support/php/hooks/composer-repository-hook.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/build-support/php/hooks/composer-repository-hook.sh b/pkgs/build-support/php/hooks/composer-repository-hook.sh index 779f07347548..3aae1f9fa85d 100644 --- a/pkgs/build-support/php/hooks/composer-repository-hook.sh +++ b/pkgs/build-support/php/hooks/composer-repository-hook.sh @@ -17,6 +17,7 @@ composerRepositoryConfigureHook() { fi if [[ ! -f "composer.lock" ]]; then + COMPOSER_ROOT_VERSION="${version}" \ composer \ --no-ansi \ --no-install \