Elis Hirwing
f0987a05a9
php.packages.composer: Make sure that both composers use the same version
...
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-06 20:09:48 +02:00
Pol Dellaiera
3360cb0bb0
phpPackages.composer: 2.6.4 -> 2.6.5
2023-10-06 10:30:07 +02:00
Pol Dellaiera
2b12e3efe3
php.buildComposerProject: improve workflow in case of missing composer.lock
file
2023-10-04 15:12:08 +02:00
Yureka
dd104a90a8
php.buildComposerProject: warn about outdated vendorHash
2023-10-04 15:12:08 +02:00
Yureka
7d2c531f28
php.buildComposerProject: don't allow use without lockfile
2023-10-04 15:12:08 +02:00
Pol Dellaiera
a39417a673
phpPackages.composer: 2.6.3 -> 2.6.4
...
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-29 12:25:04 +02:00
Pol Dellaiera
f0dc8516ed
build-support/php/hooks: add cacert
2023-09-25 22:10:28 +02:00
Yureka
5d20a2b99a
buildPecl: pass hash attr to fetchurl
2023-09-25 19:24:40 +02:00
Pol Dellaiera
9675e82ea1
build-support/php/composer-local-repo-plugin: 1.0.2 -> 1.0.3
2023-09-21 21:15:57 +02:00
Pol Dellaiera
c8b9e229e1
phpPackages.composer: 2.6.2 -> 2.6.3
2023-09-20 16:53:03 +02:00
Pol Dellaiera
6e55577f33
build-support/php/composer-local-repo-plugin: 1.0.0 -> 1.0.2
...
Also fix https://github.com/NixOS/nixpkgs/issues/255860
2023-09-18 14:21:26 +02:00
Pol Dellaiera
a2f8623363
build-support/php: prevent the creation of symlinks
...
Using symbolic links create issues on Darwin, therefore, using `makeWrapper` fix this.
2023-09-14 21:40:33 +02:00
Pol Dellaiera
3eb168da92
build-support/php: add composerNoDev
, composerNoPlugins
and composerNoScripts
attributes
2023-09-13 17:08:04 +02:00
Pol Dellaiera
1173a34d15
build-support/php: move internal tools in php/build-support/php/pkgs
2023-09-13 17:07:48 +02:00
Elis Hirwing
1e238b8afe
php: Fix shellcheck string warnings in composer-install-hook
2023-09-13 15:00:04 +02:00
Elis Hirwing
2160ed2bcc
composer: Stop exposing composer built from a phar file
2023-09-13 15:00:04 +02:00
Elis Hirwing
9e701e6328
composer-local-repo-plugin: Stop exposing this internal tool
2023-09-13 15:00:03 +02:00
Pol Dellaiera
b36ad2f517
php: add new builder buildComposerProject
2023-09-13 15:00:03 +02:00
Pol Dellaiera
27e3b694e7
composer-local-repo-plugin: init at 1.0.0
2023-09-13 15:00:03 +02:00