3
0
Fork 0
forked from mirrors/nixpkgs

Deprecation warning for networking.extraHosts

This commit is contained in:
Valentin Shirokov 2017-07-28 00:15:17 +03:00
parent d29fc731b3
commit 635ecd802f

View file

@ -199,6 +199,9 @@ in
config = {
warnings = optional (cfg.extraHosts != "")
"networking.extraHosts is deprecated, please use networking.hosts instead";
environment.etc =
{ # /etc/services: TCP/UDP port assignments.
"services".source = pkgs.iana-etc + "/etc/services";