git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #85958 from ryneeverett/ycmd-typescript

ycmd: typescript completion support

commit7a411e7ad673a2cd87d125a49aa38dbc0e6c1785 authorAlexey Shmalko <rasen.dubi@gmail.com> dateMon 11 May 2020, 15:58 (7 years ago) parent54ded2130328c3
1 file changed+4
pkgs/development/tools/misc/ycmd/default.nix+4
pkgs/development/tools/misc/ycmd/default.nix+4
@@ -2,6 +2,7 @@
22, gocode ? null
33, godef ? null
44, gotools ? null
5+, nodePackages ? null
56, rustracerd ? null
67, fixDarwinDylibNames, Cocoa ? null
78}:
@@ -69,6 +70,9 @@ stdenv.mkDerivation {
6970 TARGET=$out/lib/ycmd/third_party/go/src/golang.org/x/tools/cmd/gopls
7071 mkdir -p $TARGET
7172 ln -sf ${gotools}/bin/gopls $TARGET
73+ '' + lib.optionalString (nodePackages != null) ''
74+ TARGET=$out/lib/ycmd/third_party/tsserver
75+ ln -sf ${nodePackages.typescript} $TARGET
7276 '' + lib.optionalString (rustracerd != null) ''
7377 TARGET=$out/lib/ycmd/third_party/racerd/target/release
7478 mkdir -p $TARGET