mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
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
|
||||
postInstall = ''
|
||||
installShellCompletion --cmd castor \
|
||||
--bash <($out/bin/castor completion bash) \
|
||||
--fish <($out/bin/castor completion fish) \
|
||||
--zsh <($out/bin/castor completion zsh)
|
||||
--bash <(php $out/bin/castor completion bash) \
|
||||
--fish <(php $out/bin/castor completion fish) \
|
||||
--zsh <(php $out/bin/castor completion zsh)
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
|
Loading…
Reference in New Issue
Block a user