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 , moreutils
, makeBinaryWrapper , makeBinaryWrapper
, php , php
, cacert
}: }:
{ {
composerRepositoryHook = makeSetupHook composerRepositoryHook = makeSetupHook
{ {
name = "composer-repository-hook.sh"; name = "composer-repository-hook.sh";
propagatedBuildInputs = [ jq moreutils php ]; propagatedBuildInputs = [ jq moreutils php cacert ];
substitutions = { }; substitutions = { };
} ./composer-repository-hook.sh; } ./composer-repository-hook.sh;
composerInstallHook = makeSetupHook composerInstallHook = makeSetupHook
{ {
name = "composer-install-hook.sh"; name = "composer-install-hook.sh";
propagatedBuildInputs = [ jq makeBinaryWrapper moreutils php ]; propagatedBuildInputs = [ jq makeBinaryWrapper moreutils php cacert ];
substitutions = { }; substitutions = { };
} ./composer-install-hook.sh; } ./composer-install-hook.sh;
} }