summary refs log tree commit diff stats
path: root/modules/development/javascript.nix
blob: 37b78656c9dc92b27f25377c986e82b1fe0cb6e1 (plain)
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
    ]
  );
}