diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/development/javascript.nix | 33 |
1 files changed, 16 insertions, 17 deletions
diff --git a/modules/development/javascript.nix b/modules/development/javascript.nix index 67eef971..df1da10a 100644 --- a/modules/development/javascript.nix +++ b/modules/development/javascript.nix @@ -4,23 +4,8 @@ let node = pkgs.unstable.nodejs-10_x; npmPackages = pkgs.unstable.nodePackages_10_x; in -{ environment.systemPackages = with pkgs.unstable; [ +{ environment.systemPackages = (with pkgs.unstable; [ node - - npmPackages.node-gyp - npmPackages.node-gyp-build - npmPackages.node-pre-gyp - - npmPackages.tern - npmPackages.node2nix - npmPackages.nodemon - npmPackages.javascript-typescript-langserver - npmPackages.typescript-language-server - npmPackages.eslint_d - npmPackages.yarn - npmPackages.prettier - npmPackages.pnpm - ] ++ ( if stdenv.isDarwin then @@ -34,5 +19,19 @@ in gnumake python2 ] - ); + )) ++ (with npmPackages; [ + node-gyp + node-gyp-build + node-pre-gyp + + tern + node2nix + nodemon + javascript-typescript-langserver + typescript-language-server + eslint_d + yarn + prettier + pnpm + ]); } |