{ config, pkgs, ... }: { environment.systemPackages = with pkgs.unstable; [ nodejs-10_x nodePackages_10_x.tern nodePackages_10_x.node2nix nodePackages_10_x.nodemon nodePackages_10_x.javascript-typescript-langserver nodePackages_10_x.eslint_d nodePackages_10_x.node-gyp nodePackages_10_x.node-gyp-build nodePackages_10_x.node-pre-gyp ] ++ ( if stdenv.isDarwin then [ ] else [ # npm install may use any of these binutils gcc gnumake python2 ] ); }