modules/development/javascript.nix (view raw)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | { config, pkgs, ... }: { environment.systemPackages = with pkgs.unstable; [ nodejs-8_x nodePackages.tern nodePackages.node2nix nodePackages.nodemon nodePackages.javascript-typescript-langserver nodePackages.eslint_d nodePackages.node-gyp nodePackages.node-gyp-build nodePackages.node-pre-gyp ] ++ ( if stdenv.isDarwin then [ ] else [ # npm install may use any of these binutils gcc gnumake python2 ] ); } |