services: Add 'profile-service-type'.
commitaf4c3fd5e37d477bffce167909fbc0776a860204
authorLudovic Courtès <ludo@gnu.org>
Mon, 2 Nov 2015 20:52:28 +0000 (2 21:52 +0100)
committerLudovic Courtès <ludo@gnu.org>
Mon, 2 Nov 2015 21:25:12 +0000 (2 22:25 +0100)
treeb055a36138d5033d9acf64a1b4c86f968d0caa9b
parentd62e201cfd0f1e48c14586489d0e2b80ce943d4f
services: Add 'profile-service-type'.

* gnu/services.scm (packages->profile-entry): New procedure.
  (profile-service-type): New variable.
* gnu/system.scm (operating-system-directory-base-entries): Remove
  the "profile" entry.
  (essential-services): Add a PROFILE-SERVICE-TYPE instance.
  (operating-system-profile): Rewrite in terms of 'fold-services'.
* doc/guix.texi (Service Reference): Add 'profile-service-type'.
* doc/images/service-graph.dot: Likewise.
doc/guix.texi
doc/images/service-graph.dot
gnu/services.scm
gnu/system.scm