system: Add 'hosts-file' field.
authorLudovic Courtès <ludo@gnu.org>
Thu, 11 Sep 2014 20:03:24 +0000 (22:03 +0200)
committerLudovic Courtès <ludo@gnu.org>
Thu, 11 Sep 2014 22:14:52 +0000 (00:14 +0200)
commitc65e1834032d7f6e1bc4ebbc8157389a922f1e99
treef636e7302b513f7224e2a410b27017a70f97f34f
parentf9d53de1054961208b153081a82037619419f25a
system: Add 'hosts-file' field.

* gnu/system.scm (<operating-system>)[hosts-file]: New field.
  (default-/etc/hosts): New procedure.
  (etc-directory): Add #:hosts-file parameter and honor it.
  (operating-system-etc-directory): Build /etc/hosts, and pass
  it as #:hosts-file to 'etc-directory'.
gnu/system.scm