system: Add bindings to configure libc's NSS.
authorLudovic Courtès <ludo@gnu.org>
Wed, 4 Feb 2015 20:58:15 +0000 (21:58 +0100)
committerLudovic Courtès <ludo@gnu.org>
Wed, 4 Feb 2015 21:49:35 +0000 (22:49 +0100)
commit996ed73948e92eb2005a2a282856753d707f452c
tree3dd45afdbbb22c01652cd2df9b7b61742440c6ab
parentffd74de0c6de7435fcdc8e340efade032c365081
system: Add bindings to configure libc's NSS.

* gnu/system/nss.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
* gnu.scm (%public-modules): Add it.
* gnu/system.scm (<operating-system>)[name-service-switch]: New field.
  (etc-directory): Add #:nss parameter and honor it.
  (operating-system-etc-directory): Adjust call accordingly.
* doc/guix.texi (operating-system Reference): Document
  'name-service-switch'.
  (Name Service Switch): New section.
doc/guix.texi
gnu-system.am
gnu.scm
gnu/system.scm
gnu/system/nss.scm [new file with mode: 0644]