Add an /etc/hosts entry mapping localhost to ::1

This commit is contained in:
Eelco Dolstra 2012-10-07 00:46:24 -04:00
parent 570e523a88
commit 2b2f0067b8

View File

@ -43,6 +43,7 @@ in
source = pkgs.writeText "hosts" source = pkgs.writeText "hosts"
'' ''
127.0.0.1 localhost 127.0.0.1 localhost
::1 localhost
${cfg.extraHosts} ${cfg.extraHosts}
''; '';
target = "hosts"; target = "hosts";