Merge pull request #285146 from kjhoerr/bash-lsp-dep

nodePackages.bash-language-server: Add shellcheck to bin path
This commit is contained in:
Sandro 2024-02-17 21:28:27 +01:00 committed by GitHub
commit 586dff34a9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -40,6 +40,14 @@ final: prev: {
};
};
bash-language-server = prev.bash-language-server.override {
nativeBuildInputs = [ pkgs.buildPackages.makeWrapper ];
postInstall = ''
wrapProgram "$out/bin/bash-language-server" \
--prefix PATH : ${lib.makeBinPath [ pkgs.shellcheck ]}
'';
};
bower2nix = prev.bower2nix.override {
nativeBuildInputs = [ pkgs.buildPackages.makeWrapper ];
postInstall = ''