nixos/npm: add npm to the system closure by default (#42420)

This commit is contained in:
Maximilian Bosch 2018-06-25 00:11:55 +02:00 committed by xeji
parent 5e451e41c3
commit db493ad552

View File

@ -1,4 +1,4 @@
{ config, lib, ... }:
{ config, lib, pkgs, ... }:
with lib;
@ -39,6 +39,8 @@ in
environment.etc."npmrc".text = cfg.npmrc;
environment.variables.NPM_CONFIG_GLOBALCONFIG = "/etc/npmrc";
environment.systemPackages = [ pkgs.nodePackages.npm ];
};
}