From 4f5c437c98d35ce7dfcfbc847c2eae77e0778a68 Mon Sep 17 00:00:00 2001 From: MetaDark Date: Sat, 30 May 2020 13:21:13 -0400 Subject: [PATCH] nodePackages.typescript-language-server: add typescript dependency typescript-language-server is a wrapper around tsserver and is useless without it --- pkgs/development/node-packages/default.nix | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/pkgs/development/node-packages/default.nix b/pkgs/development/node-packages/default.nix index c8694a46bd14..1ecb19b4cbfa 100644 --- a/pkgs/development/node-packages/default.nix +++ b/pkgs/development/node-packages/default.nix @@ -189,6 +189,10 @@ let meta.broken = since "10"; }; + stf = super.stf.override { + meta.broken = since "10"; + }; + tedicross = super."tedicross-git+https://github.com/TediCross/TediCross.git#v0.8.7".override { nativeBuildInputs = [ pkgs.makeWrapper ]; postInstall = '' @@ -205,8 +209,12 @@ let ''; }); - stf = super.stf.override { - meta.broken = since "10"; + typescript-language-server = super.typescript-language-server.override { + nativeBuildInputs = [ pkgs.makeWrapper ]; + postInstall = '' + wrapProgram "$out/bin/typescript-language-server" \ + --prefix PATH : ${stdenv.lib.makeBinPath [ self.typescript ]} + ''; }; vega-cli = super.vega-cli.override {