~ruther/guix-local

7d6a52c0dca2e2d26d8e82d1881ae824fdb2cf81 — Ludovic Courtès 11 years ago 5dae018
system: Fix the default /etc/hosts.

* gnu/system.scm (default-/etc/hosts): Fix the alias/address order.
  Add ::1.
1 files changed, 2 insertions(+), 2 deletions(-)

M gnu/system.scm
M gnu/system.scm => gnu/system.scm +2 -2
@@ 268,8 268,8 @@ This is the GNU system.  Welcome.\n")
(define (default-/etc/hosts host-name)
  "Return the default /etc/hosts file."
  (text-file "hosts"
             (string-append "localhost 127.0.0.1\n"
                            host-name " 127.0.0.1\n")))
             (string-append "127.0.0.1 localhost " host-name "\n"
                            "::1       localhost " host-name "\n")))

(define* (etc-directory #:key
                        (locale "C") (timezone "Europe/Paris")