about summary refs log tree commit diff
path: root/pkgs/development/tools/misc/ycmd/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/tools/misc/ycmd/default.nix')
-rw-r--r--pkgs/development/tools/misc/ycmd/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/tools/misc/ycmd/default.nix b/pkgs/development/tools/misc/ycmd/default.nix
index 2d01944dce41..e09ecac29b3a 100644
--- a/pkgs/development/tools/misc/ycmd/default.nix
+++ b/pkgs/development/tools/misc/ycmd/default.nix
@@ -2,7 +2,7 @@
 , withGocode ? true, gocode
 , withGodef ? true, godef
 , withGotools? true, gotools
-, withTypescript ? true, nodePackages
+, withTypescript ? true, typescript
 , abseil-cpp, boost, llvmPackages
 , fixDarwinDylibNames, Cocoa
 }:
@@ -77,7 +77,7 @@ stdenv.mkDerivation {
     ln -sf ${gotools}/bin/gopls $TARGET
   '' + lib.optionalString withTypescript ''
     TARGET=$out/lib/ycmd/third_party/tsserver
-    ln -sf ${nodePackages.typescript} $TARGET
+    ln -sf ${typescript} $TARGET
   '';
 
   # fixup the argv[0] and replace __file__ with the corresponding path so