phpactor: fix build
This fixes the generation of bash completion by patching the shebang of the phpactor script before the generation is excuted.
This commit is contained in:
parent
66f66bba71
commit
fb2e1920b2
@ -19,6 +19,10 @@ php.buildComposerProject (finalAttrs: {
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
postPatch = ''
|
||||
patchShebangs bin/phpactor
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
installShellCompletion --cmd phpactor \
|
||||
--bash <($out/bin/phpactor completion bash)
|
||||
|
Loading…
Reference in New Issue
Block a user