summary refs log tree commit diff
path: root/nix
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-06-05 22:41:55 +0200
committerLudovic Courtès <ludo@gnu.org>2015-06-05 22:41:55 +0200
commit24e02c28fbf2b0efbc2fd6cdcd770037a6cff7e3 (patch)
treeb4541b9b8e4e28b5fbe6f060895e94f7fbb01be2 /nix
parent847658395e399d6d4ef21a247dbad02a9c921400 (diff)
downloadguix-24e02c28fbf2b0efbc2fd6cdcd770037a6cff7e3.tar.gz
system: 'hosts-file' is now a file-like object.
Partly fixes <http://bugs.gnu.org/20720>.
Reported by Alex Kost <alezost@gmail.com>.

* gnu/system.scm (default-/etc/hosts): Change 'text-file' to 'plain-file'.
  (maybe-file->monadic): New procedure.
  (operating-system-etc-directory): Use it.
* doc/guix.texi (operating-system Reference, Networking Services): Adjust
  accordingly.
Diffstat (limited to 'nix')
0 files changed, 0 insertions, 0 deletions