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:
parent
570e523a88
commit
2b2f0067b8
|
@ -43,6 +43,7 @@ in
|
|||
source = pkgs.writeText "hosts"
|
||||
''
|
||||
127.0.0.1 localhost
|
||||
::1 localhost
|
||||
${cfg.extraHosts}
|
||||
'';
|
||||
target = "hosts";
|
||||
|
|
Loading…
Reference in a new issue