1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-03-06 23:31:34 +00:00

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"
''
127.0.0.1 localhost
::1 localhost
${cfg.extraHosts}
'';
target = "hosts";