build-support/php/hooks: add cacert

This commit is contained in:
Pol Dellaiera 2023-09-25 22:10:28 +02:00
parent 7e5e43ef91
commit f0dc8516ed
No known key found for this signature in database
GPG key ID: D476DFE9C67467CA

View file

@ -3,20 +3,21 @@
, moreutils
, makeBinaryWrapper
, php
, cacert
}:
{
composerRepositoryHook = makeSetupHook
{
name = "composer-repository-hook.sh";
propagatedBuildInputs = [ jq moreutils php ];
propagatedBuildInputs = [ jq moreutils php cacert ];
substitutions = { };
} ./composer-repository-hook.sh;
composerInstallHook = makeSetupHook
{
name = "composer-install-hook.sh";
propagatedBuildInputs = [ jq makeBinaryWrapper moreutils php ];
propagatedBuildInputs = [ jq makeBinaryWrapper moreutils php cacert ];
substitutions = { };
} ./composer-install-hook.sh;
}