blob: df1da10a6408a8017adae8e656d5a1be3aa8ccee (
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
30
31
32
33
34
35
36
37
|
{ config, pkgs, ... }:
let
node = pkgs.unstable.nodejs-10_x;
npmPackages = pkgs.unstable.nodePackages_10_x;
in
{ environment.systemPackages = (with pkgs.unstable; [
node
] ++ (
if stdenv.isDarwin
then
[
]
else
[
# npm install may use any of these
binutils
gcc
gnumake
python2
]
)) ++ (with npmPackages; [
node-gyp
node-gyp-build
node-pre-gyp
tern
node2nix
nodemon
javascript-typescript-langserver
typescript-language-server
eslint_d
yarn
prettier
pnpm
]);
}
|