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

50 lines
770 B
Nix
Raw Normal View History

{ symlinkJoin
2024-07-30 03:46:40 +00:00
, runCommand
, black
2024-09-16 06:30:11 +00:00
, cargo
, efm-langserver
2024-08-01 21:05:38 +00:00
, errcheck
, go
, gopls
, lua-language-server
, nil
, nodePackages
, pyright
2024-09-16 06:30:11 +00:00
, rust-analyzer
, rustc
, rustfmt
, 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
2024-09-16 06:30:11 +00:00
cargo
efm-langserver
2024-08-01 21:05:38 +00:00
errcheck
go
gopls
lua-language-server
nil
pyright
2024-09-16 06:30:11 +00:00
rust-analyzer
rustc
rustfmt
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")
];
}