Update javascript setup
Alan Pearce alan@alanpearce.eu
Mon, 04 Feb 2019 09:59:11 +0000
1 files changed, 14 insertions(+), 9 deletions(-)
M modules/development/javascript.nix → modules/development/javascript.nix
@@ -1,17 +1,22 @@ { config, pkgs, ... }: +let + node = pkgs.unstable.nodejs-10_x; + npmPackages = pkgs.unstable.nodePackages_10_x; +in { environment.systemPackages = with pkgs.unstable; [ - nodejs-10_x + node - nodePackages_10_x.tern - nodePackages_10_x.node2nix - nodePackages_10_x.nodemon - nodePackages_10_x.javascript-typescript-langserver - nodePackages_10_x.eslint_d + npmPackages.node-gyp + npmPackages.node-gyp-build + npmPackages.node-pre-gyp + + npmPackages.tern + npmPackages.node2nix + npmPackages.nodemon + npmPackages.javascript-typescript-langserver + npmPackages.eslint_d - nodePackages_10_x.node-gyp - nodePackages_10_x.node-gyp-build - nodePackages_10_x.node-pre-gyp ] ++ ( if stdenv.isDarwin then