about summary refs log tree commit diff
path: root/pkgs/build-support/php
AgeCommit message (Collapse)AuthorFilesLines
2024-05-09buildsupport/php: add passthru.updateScriptPatka1-0/+8
PHP packages where upstream provides a lock file can be automatically updated with the standard updateScript
2024-05-07build-support/php: reorganize filesPol Dellaiera7-2/+10
Pave the way for having multiple versions in the future
2024-05-05build-support/php: remove obsolete parametersPol Dellaiera3-3/+0
2024-05-05build-support/php: add missing bindingPol Dellaiera1-16/+17
2024-05-05build-support/php: composer, add `meta.mainProgram`Pol Dellaiera1-0/+1
2024-05-05build-support/php: use `lib.getExe`Pol Dellaiera1-1/+1
2024-05-05build-support/php: move environment variables under `env` attributePol Dellaiera3-11/+17
2024-05-05build-support/php: remove obsolete parametersPol Dellaiera2-4/+0
2024-05-04workflows/check-nix-format: enforce for build-support/phpPol Dellaiera6-143/+228
2024-05-01build-support/php: replace `--no-ansi` with `--no-progress`Pol Dellaiera2-3/+3
2024-05-01build-support/php: remove `makeBinaryWrapper`Pol Dellaiera2-4/+4
2024-03-14build-support/php: update warnings when `composer validate` failsPol Dellaiera1-0/+20
2024-03-05build-support/php: update `composer validate` stepsPol Dellaiera1-1/+22
2024-03-05build-support/php: move functions around (dry)Pol Dellaiera3-40/+26
2024-03-05phpPackages.composer: 2.6.6 -> 2.7.1Pol Dellaiera2-26/+2
Diff: https://github.com/composer/composer/compare/2.6.6..2.7.1 Changelog: https://github.com/composer/composer/releases/tag/2.7.1 Fix CVE: CVE-2024-24821
2024-03-05build-support/php/composer-local-repo-plugin: 1.0.3 -> 1.1.0Pol Dellaiera1-2/+2
2024-02-25build-support/php: set `COMPOSER_ROOT_VERSION` by defaultPol Dellaiera4-6/+38
2024-02-15build-support/php: replace `preCheckInstall`, `postCheckInstall` with ↵Pol Dellaiera2-4/+4
`preInstallCheck`, `postInstallCheck`
2023-12-06build-support/php: prevent the creation of symlinks of `bin` ending with `.bat`Pol Dellaiera1-1/+1
2023-10-21build-support/php: add `composerStrictValidation` attributePol Dellaiera4-2/+44
Set to `true` by default
2023-10-20build-support/php: add colors in case of errorsPol Dellaiera2-21/+25
2023-10-17Merge pull request #261582 from NixOS/php/build-support/fix-diff-and-env-varsPol Dellaiera4-7/+7
php/build-support: fix `diff` command and env. variables
2023-10-17build-support/php: `phpDrv` in `nativeBuildInputs`Lorenz Leutgeb3-3/+4
Fixes NixOS/nixpkgs#261500
2023-10-17php/build-support: fix usage of environment variablesPol Dellaiera3-5/+4
2023-10-17php/build-support: fix usage of diff conditionPol Dellaiera2-2/+3
Remove double brackets and replace `diff` with `cmp`
2023-10-17Merge pull request #261088 from NixOS/build-support/php/remove-autoloader-prefixElis Hirwing1-1/+0
build-support/php: remove obsolete autoloader-suffix
2023-10-17Merge pull request #261413 from yu-re-ka/composer-vcs-reposElis Hirwing1-2/+2
build-support/php: fix support of vcs repositories
2023-10-16build-support/php: add `doInstallCheck`Pol Dellaiera2-0/+2
2023-10-16build-support/php: add `installCheckPhase`Pol Dellaiera2-0/+12
2023-10-16build-support/php: fix support of vcs repositoriesYureka1-2/+2
2023-10-14build-support/php: remove obsolete autoloader-suffixPol Dellaiera1-1/+0
Since https://github.com/composer/composer/pull/11663, the composer output is stable and reproducible, therefore, that prefix is now obsolete.
2023-10-09php.buildComposerProject: add missing `COMPOSER_ROOT_VERSION` env var.Pol Dellaiera1-0/+1
This is mostly required for vimeo/psalm It doesn't harm anything to add it anyway
2023-10-06php.packages.composer: Make sure that both composers use the same versionElis Hirwing2-4/+8
So in php we have a bootstrapping composer (that lives in composer-phar.nix) that downloads the binary distribution of composer to be able to bootstrap and build a composer built from source. However, it's desirable to keep composer updated at all time, and this includes the phar one that isn't used by users directly. So this makes sure we don't "forget" about the phar one since it now borrows the version from the source version. However, then it also made sense to move the hash for the phar to the same file as the source composer. Then we can control the full upgrade life cycle of both the phar and source versions of composer from the same file.
2023-10-06phpPackages.composer: 2.6.4 -> 2.6.5Pol Dellaiera1-2/+2
2023-10-04php.buildComposerProject: improve workflow in case of missing ↵Pol Dellaiera2-3/+47
`composer.lock` file
2023-10-04php.buildComposerProject: warn about outdated vendorHashYureka2-2/+25
2023-10-04php.buildComposerProject: don't allow use without lockfileYureka2-17/+4
2023-09-29phpPackages.composer: 2.6.3 -> 2.6.4Pol Dellaiera1-2/+2
Security release: To be mitigated since we are not using a publicly accessible composer.phar (GHSA-jm6m-4632-36hf / CVE-2023-43655). Changelog: https://github.com/composer/composer/releases/tag/2.6.4
2023-09-25build-support/php/hooks: add `cacert`Pol Dellaiera1-2/+3
2023-09-25buildPecl: pass hash attr to fetchurlYureka1-3/+2
2023-09-21build-support/php/composer-local-repo-plugin: 1.0.2 -> 1.0.3Pol Dellaiera1-2/+2
2023-09-20phpPackages.composer: 2.6.2 -> 2.6.3Pol Dellaiera1-2/+2
2023-09-18build-support/php/composer-local-repo-plugin: 1.0.0 -> 1.0.2Pol Dellaiera2-3/+3
Also fix https://github.com/NixOS/nixpkgs/issues/255860
2023-09-14build-support/php: prevent the creation of symlinksPol Dellaiera2-4/+5
Using symbolic links create issues on Darwin, therefore, using `makeWrapper` fix this.
2023-09-13build-support/php: add `composerNoDev`, `composerNoPlugins` and ↵Pol Dellaiera4-11/+34
`composerNoScripts` attributes
2023-09-13build-support/php: move internal tools in `php/build-support/php/pkgs`Pol Dellaiera4-3/+51
2023-09-13php: Fix shellcheck string warnings in composer-install-hookElis Hirwing1-8/+8
2023-09-13composer: Stop exposing composer built from a phar fileElis Hirwing1-1/+3
2023-09-13composer-local-repo-plugin: Stop exposing this internal toolElis Hirwing2-2/+4
2023-09-13php: add new builder `buildComposerProject`Pol Dellaiera6-0/+382