{ config, pkgs, ... }: let node = pkgs.unstable.nodejs-10_x; npmPackages = pkgs.unstable.nodePackages_10_x; in { environment.systemPackages = (with pkgs.unstable; [ node ] ++ ( if stdenv.isDarwin then [ ] else [ # npm install may use any of these binutils gcc 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 ]); }