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:

https://github.com/NixOS/nixpkgs/blob/b0d1fe9a32113e0269fae0ea6dd00e5604ccf6a9/pkgs/build-support/setup-hooks/patch-shebangs.sh#L91
This commit is contained in:
Andrew Bruce
2024-02-15 11:36:52 +01:00
committed by GitHub
parent a2db104ae4
commit 4a8def58fe
@@ -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 ];
};