castor: fix build
This fixes the generation of bash completion by patching the shebang of the castor script before the generation is excuted.
This commit is contained in:
parent
1201f43224
commit
01bf973fc4
@ -35,9 +35,9 @@ php.buildComposerProject (finalAttrs: {
|
|||||||
# install shell completions
|
# install shell completions
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
installShellCompletion --cmd castor \
|
installShellCompletion --cmd castor \
|
||||||
--bash <($out/bin/castor completion bash) \
|
--bash <(php $out/bin/castor completion bash) \
|
||||||
--fish <($out/bin/castor completion fish) \
|
--fish <(php $out/bin/castor completion fish) \
|
||||||
--zsh <($out/bin/castor completion zsh)
|
--zsh <(php $out/bin/castor completion zsh)
|
||||||
'';
|
'';
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
|
Loading…
Reference in New Issue
Block a user