2024-07-30 03:14:58 +00:00
|
|
|
{ symlinkJoin
|
2024-07-30 03:46:40 +00:00
|
|
|
, runCommand
|
|
|
|
|
2024-07-30 03:14:58 +00:00
|
|
|
, black
|
|
|
|
, efm-langserver
|
2024-08-01 21:05:38 +00:00
|
|
|
, errcheck
|
|
|
|
, go
|
|
|
|
, gopls
|
2024-07-30 03:14:58 +00:00
|
|
|
, lua-language-server
|
|
|
|
, nil
|
|
|
|
, nodePackages
|
|
|
|
, pyright
|
|
|
|
, vscode-langservers-extracted
|
|
|
|
, yaml-language-server
|
|
|
|
}:
|
|
|
|
|
2024-07-30 03:46:40 +00:00
|
|
|
let
|
|
|
|
symlinkBin = path: runCommand "symlinkBin" { } ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
ln -s "${path}" $out/bin/
|
|
|
|
'';
|
|
|
|
|
|
|
|
in
|
2024-07-30 03:14:58 +00:00
|
|
|
symlinkJoin {
|
|
|
|
name = "bck-nvim-tools";
|
|
|
|
paths = [
|
|
|
|
black
|
|
|
|
efm-langserver
|
2024-08-01 21:05:38 +00:00
|
|
|
errcheck
|
|
|
|
go
|
|
|
|
gopls
|
2024-07-30 03:14:58 +00:00
|
|
|
lua-language-server
|
|
|
|
nil
|
|
|
|
pyright
|
|
|
|
vscode-langservers-extracted
|
|
|
|
yaml-language-server
|
2024-07-30 03:46:40 +00:00
|
|
|
|
|
|
|
(symlinkBin "${nodePackages.prettier}/bin/prettier")
|
|
|
|
(symlinkBin "${nodePackages.typescript-language-server}/bin/typescript-language-server")
|
2024-07-30 03:14:58 +00:00
|
|
|
];
|
|
|
|
}
|