2023-04-09 09:53:42 +00:00
|
|
|
{ makeSetupHook
|
|
|
|
, jq
|
|
|
|
, moreutils
|
2023-09-14 19:40:33 +00:00
|
|
|
, makeBinaryWrapper
|
|
|
|
, php
|
2023-04-09 09:53:42 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
{
|
|
|
|
composerRepositoryHook = makeSetupHook
|
|
|
|
{
|
|
|
|
name = "composer-repository-hook.sh";
|
2023-09-14 19:40:33 +00:00
|
|
|
propagatedBuildInputs = [ jq moreutils php ];
|
2023-04-09 09:53:42 +00:00
|
|
|
substitutions = { };
|
|
|
|
} ./composer-repository-hook.sh;
|
|
|
|
|
|
|
|
composerInstallHook = makeSetupHook
|
|
|
|
{
|
|
|
|
name = "composer-install-hook.sh";
|
2023-09-14 19:40:33 +00:00
|
|
|
propagatedBuildInputs = [ jq makeBinaryWrapper moreutils php ];
|
2023-04-09 09:53:42 +00:00
|
|
|
substitutions = { };
|
|
|
|
} ./composer-install-hook.sh;
|
|
|
|
}
|