diff options
author | Silvan Mosberger <contact@infinisil.com> | 2020-08-20 20:53:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-20 20:53:18 +0200 |
commit | 15c8e915f5fe279c8082073746adb418e0c9796f (patch) | |
tree | 96968ded6b6fdf8aab28d19ed27728a71a35af64 /pkgs/development/node-packages | |
parent | 30f15911ab3fe2411b5d0bb9ca6337fb086c888e (diff) | |
parent | cd9b4e02d0be7d215cb3a8bd383d52fd66b29d97 (diff) |
Merge pull request #90326 from terlar/fix-tsun
nodePackages.tsun: add typescript dependency
Diffstat (limited to 'pkgs/development/node-packages')
-rw-r--r-- | pkgs/development/node-packages/default.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pkgs/development/node-packages/default.nix b/pkgs/development/node-packages/default.nix index 5c8fca096b1b..61581e1a430a 100644 --- a/pkgs/development/node-packages/default.nix +++ b/pkgs/development/node-packages/default.nix @@ -150,6 +150,14 @@ let ''; }; + tsun = super.tsun.overrideAttrs (oldAttrs: { + buildInputs = oldAttrs.buildInputs ++ [ pkgs.makeWrapper ]; + postInstall = '' + wrapProgram "$out/bin/tsun" \ + --prefix NODE_PATH : ${self.typescript}/lib/node_modules + ''; + }); + stf = super.stf.override { meta.broken = since "10"; }; |