3
0
Fork 0
forked from mirrors/nixpkgs

Removed deprecation warning for networking.extraHosts

This commit is contained in:
Valentin Shirokov 2017-07-31 15:28:10 +08:00 committed by Robin Gloster
parent 701d2c89f9
commit a74c0c6652

View file

@ -199,9 +199,6 @@ 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";