services: boot: Take gexps instead of monadic gexps.
authorLudovic Courtès <ludo@gnu.org>
Wed, 20 Jun 2018 09:01:07 +0000 (11:01 +0200)
committerLudovic Courtès <ludo@gnu.org>
Wed, 20 Jun 2018 21:47:08 +0000 (23:47 +0200)
commit378daa8cb677121e1893f9173af1db060720d6e4
tree5263997c3a917de0e736b95435a8d5520dded9e4
parent636bb2b5e350bb5eb1d934da690c85e52e352bc4
services: boot: Take gexps instead of monadic gexps.

* gnu/services.scm (compute-boot-script): Rename 'mexps' to 'gexps' and
remove 'mlet' form.
(boot-service-type): Update comment.
(cleanup-gexp): Remove 'with-monad' and 'return'.
(activation-script): Rewrite in non-monadic style: use 'scheme-file'
instead of 'gexp->file'.
(gexps->activation-gexp): Remove 'mlet', return a gexp.
* gnu/services/shepherd.scm (shepherd-boot-gexp): Remove 'with-monad'
and 'return'.
* gnu/system.scm (operating-system-boot-script): Remove outdated comment.
* gnu/tests/base.scm (%cleanup-os): For 'dirty-service', remove
'with-monad' and 'return'.
gnu/services.scm
gnu/services/shepherd.scm
gnu/system.scm
gnu/tests/base.scm