Loading pkgs/build-support/php/hooks/composer-install-hook.sh +2 −2 Original line number Diff line number Diff line Loading @@ -77,9 +77,9 @@ composerInstallBuildHook() { # because the file contains hardcoded nix store paths, we generate it here. composer-local-repo-plugin --no-ansi build-local-repo -m "${composerRepository}" . # Remove all the repositories of type "composer" # Remove all the repositories of type "composer" and "vcs" # from the composer.json file. jq -r -c 'del(try .repositories[] | select(.type == "composer"))' composer.json | sponge composer.json jq -r -c 'del(try .repositories[] | select(.type == "composer" or .type == "vcs"))' composer.json | sponge composer.json # Configure composer to disable packagist and avoid using the network. composer config repo.packagist false Loading Loading
pkgs/build-support/php/hooks/composer-install-hook.sh +2 −2 Original line number Diff line number Diff line Loading @@ -77,9 +77,9 @@ composerInstallBuildHook() { # because the file contains hardcoded nix store paths, we generate it here. composer-local-repo-plugin --no-ansi build-local-repo -m "${composerRepository}" . # Remove all the repositories of type "composer" # Remove all the repositories of type "composer" and "vcs" # from the composer.json file. jq -r -c 'del(try .repositories[] | select(.type == "composer"))' composer.json | sponge composer.json jq -r -c 'del(try .repositories[] | select(.type == "composer" or .type == "vcs"))' composer.json | sponge composer.json # Configure composer to disable packagist and avoid using the network. composer config repo.packagist false Loading