vimPlugins.elixir-tools-nvim: fix credo-language-server (#275505)

Credo language server gets broken by patchShebangs in its current form.

-S without a command in the path causes the 'elixir' part of this
shebang to be removed. This is because the following line defaults to
'true', which produces a blank string:

b0d1fe9a32/pkgs/build-support/setup-hooks/patch-shebangs.sh (L91)
This commit is contained in:
Andrew Bruce 2024-02-15 10:36:52 +00:00 committed by GitHub
parent a2db104ae4
commit 4a8def58fe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -549,6 +549,12 @@
'';
});
elixir-tools-nvim = super.elixir-tools-nvim.overrideAttrs {
fixupPhase = ''
patchShebangs $(find $out/bin/ -type f -not -name credo-language-server)
'';
};
executor-nvim = super.executor-nvim.overrideAttrs {
dependencies = with self; [ nui-nvim ];
};