mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
build-support/php: fix environment variables for Composer
This commit is contained in:
parent
3bcaabbb71
commit
07e6929c81
9 changed files with 17 additions and 32 deletions
|
@ -13,6 +13,13 @@ setComposeRootVersion() {
|
|||
set -e
|
||||
}
|
||||
|
||||
setComposeEnvVariables() {
|
||||
echo -e "\e[32mSetting some required environment variables for Composer...\e[0m"
|
||||
export COMPOSER_MIRROR_PATH_REPOS=1
|
||||
export COMPOSER_CACHE_DIR=/dev/null
|
||||
export COMPOSER_HTACCESS_PROTECT=0
|
||||
}
|
||||
|
||||
checkComposerValidate() {
|
||||
setComposeRootVersion
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue