From 685efe73de79092cd02b84d39f293cd082953e1d Mon Sep 17 00:00:00 2001 From: Martin Toman Date: Mon, 19 Sep 2022 10:21:16 -0700 Subject: [PATCH] php: composer-json ignore platform reqs & scripts --- src/subsystems/php/translators/composer-json/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/subsystems/php/translators/composer-json/default.nix b/src/subsystems/php/translators/composer-json/default.nix index 226f4a52..522d0995 100644 --- a/src/subsystems/php/translators/composer-json/default.nix +++ b/src/subsystems/php/translators/composer-json/default.nix @@ -58,9 +58,9 @@ echo "excluding dev dependencies" jq '.require-dev = {}' ./composer.json > composer.json.mod mv composer.json.mod composer.json - composer update --no-install --no-dev + composer update --ignore-platform-reqs --no-scripts --no-plugins --no-install --no-dev else - composer update --no-install + composer update --ignore-platform-reqs --no-scripts --no-plugins --no-install fi jq ".source = \"$newSource\"" -c -r $jsonInput > $TMPDIR/newJsonInput