mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
41 lines
678 B
Nix
41 lines
678 B
Nix
{ symlinkJoin
|
|
, runCommand
|
|
|
|
, black
|
|
, efm-langserver
|
|
, errcheck
|
|
, go
|
|
, gopls
|
|
, lua-language-server
|
|
, nil
|
|
, nodePackages
|
|
, pyright
|
|
, vscode-langservers-extracted
|
|
, yaml-language-server
|
|
}:
|
|
|
|
let
|
|
symlinkBin = path: runCommand "symlinkBin" { } ''
|
|
mkdir -p $out/bin
|
|
ln -s "${path}" $out/bin/
|
|
'';
|
|
|
|
in
|
|
symlinkJoin {
|
|
name = "bck-nvim-tools";
|
|
paths = [
|
|
black
|
|
efm-langserver
|
|
errcheck
|
|
go
|
|
gopls
|
|
lua-language-server
|
|
nil
|
|
pyright
|
|
vscode-langservers-extracted
|
|
yaml-language-server
|
|
|
|
(symlinkBin "${nodePackages.prettier}/bin/prettier")
|
|
(symlinkBin "${nodePackages.typescript-language-server}/bin/typescript-language-server")
|
|
];
|
|
}
|