nixpkgs/pkgs/development/php-packages/php-parallel-lint
Jan Tojnar 35c91b9630 php80.packages.php-parallel-lint: Fix build
One of the main use cases of this program is ensuring that a project
targeting older PHP version does not use syntax that is not available there.

Unfortunately, box is now only available for PHP ≥ 8.1.
And even if we bring it from PHP 8.1 package set, the produced PHAR
will contain syntax incompatible with older PHP versions.

To work around this we either need to disable requirements checks
or force use the default PHAR stub over the box’s one.
And it turns out that php-parallel-linter already does the former,
only we did not have access to the `box.json` file
because it was excluded from the `git archive`.

Let’s fetch the source using Git so that box configuration is available.

Reverts 2db0ddb968
2022-11-14 23:36:38 +01:00
..
default.nix php80.packages.php-parallel-lint: Fix build 2022-11-14 23:36:38 +01:00