forked from mirrors/nixpkgs
Removed deprecation warning for networking.extraHosts
This commit is contained in:
parent
701d2c89f9
commit
a74c0c6652
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue