mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-11-09 18:47:02 +00:00
fix node packages in vim tools
This commit is contained in:
parent
f3a238e747
commit
9936e7062a
1 changed files with 12 additions and 2 deletions
|
@ -1,4 +1,6 @@
|
||||||
{ symlinkJoin
|
{ symlinkJoin
|
||||||
|
, runCommand
|
||||||
|
|
||||||
, black
|
, black
|
||||||
, efm-langserver
|
, efm-langserver
|
||||||
, lua-language-server
|
, lua-language-server
|
||||||
|
@ -9,6 +11,13 @@
|
||||||
, yaml-language-server
|
, yaml-language-server
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
let
|
||||||
|
symlinkBin = path: runCommand "symlinkBin" { } ''
|
||||||
|
mkdir -p $out/bin
|
||||||
|
ln -s "${path}" $out/bin/
|
||||||
|
'';
|
||||||
|
|
||||||
|
in
|
||||||
symlinkJoin {
|
symlinkJoin {
|
||||||
name = "bck-nvim-tools";
|
name = "bck-nvim-tools";
|
||||||
paths = [
|
paths = [
|
||||||
|
@ -16,10 +25,11 @@ symlinkJoin {
|
||||||
efm-langserver
|
efm-langserver
|
||||||
lua-language-server
|
lua-language-server
|
||||||
nil
|
nil
|
||||||
nodePackages.prettier
|
|
||||||
nodePackages.typescript-language-server
|
|
||||||
pyright
|
pyright
|
||||||
vscode-langservers-extracted
|
vscode-langservers-extracted
|
||||||
yaml-language-server
|
yaml-language-server
|
||||||
|
|
||||||
|
(symlinkBin "${nodePackages.prettier}/bin/prettier")
|
||||||
|
(symlinkBin "${nodePackages.typescript-language-server}/bin/typescript-language-server")
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue