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