Merge pull request #331329 from kylecarbs/master

coder: fix build failure with shell completion
This commit is contained in:
Pol Dellaiera 2024-07-31 23:41:39 +02:00 committed by GitHub
commit eb7bdd44ec
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -83,11 +83,6 @@ stdenvNoCC.mkDerivation (finalAttrs: {
'';
postInstall = ''
installShellCompletion --cmd coder \
--bash <($out/bin/coder completion bash) \
--fish <($out/bin/coder completion fish) \
--zsh <($out/bin/coder completion zsh)
wrapProgram $out/bin/coder \
--prefix PATH : ${lib.makeBinPath [ terraform ]}
'';