diff options
author | Alan Pearce | 2019-07-05 16:09:41 +0200 |
---|---|---|
committer | Alan Pearce | 2019-07-05 16:09:41 +0200 |
commit | f7bf69cf5141a8193b900a136f18769bd0820d00 (patch) | |
tree | ec1d9eec5d6c18efd0613a2eebf265ca7f815911 /modules/development | |
parent | 851738b06d2c30e2531267580cb926b216ff8f48 (diff) | |
download | nixos-configuration-f7bf69cf5141a8193b900a136f18769bd0820d00.tar.lz nixos-configuration-f7bf69cf5141a8193b900a136f18769bd0820d00.tar.zst nixos-configuration-f7bf69cf5141a8193b900a136f18769bd0820d00.zip |
javascript: split npmPackages
Diffstat (limited to 'modules/development')
-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 67eef97..df1da10 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 + ]); } |