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-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
]
);
}
|