nixos-config/pkgs/bck-nvim-tools.nix

42 lines
678 B
Nix
Raw Normal View History

{ symlinkJoin
2024-07-30 03:46:40 +00:00
, runCommand
, black
, efm-langserver
2024-08-01 21:05:38 +00:00
, errcheck
, go
, gopls
, 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
symlinkJoin {
name = "bck-nvim-tools";
paths = [
black
efm-langserver
2024-08-01 21:05:38 +00:00
errcheck
go
gopls
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")
];
}