@@ -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