mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 03:34:58 +00:00
nodePackages: add ts-node
This commit is contained in:
parent
b90aae9445
commit
00214c2346
@ -459,6 +459,14 @@ let
|
||||
'';
|
||||
});
|
||||
|
||||
ts-node = super.ts-node.overrideAttrs (oldAttrs: {
|
||||
buildInputs = oldAttrs.buildInputs ++ [ pkgs.makeWrapper ];
|
||||
postInstall = ''
|
||||
wrapProgram "$out/bin/ts-node" \
|
||||
--prefix NODE_PATH : ${self.typescript}/lib/node_modules
|
||||
'';
|
||||
});
|
||||
|
||||
typescript = super.typescript.overrideAttrs (oldAttrs: {
|
||||
meta = oldAttrs.meta // { mainProgram = "tsc"; };
|
||||
});
|
||||
|
@ -347,6 +347,7 @@
|
||||
, "titanium"
|
||||
, "triton"
|
||||
, "tsun"
|
||||
, "ts-node"
|
||||
, "ttf2eot"
|
||||
, "typescript"
|
||||
, "typescript-language-server"
|
||||
|
3613
pkgs/development/node-packages/node-packages.nix
generated
3613
pkgs/development/node-packages/node-packages.nix
generated
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user