From 39e4e00f75be8055300cb0afffb8bd4b4d35f2cc Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sun, 13 Nov 2022 01:00:00 +0100 Subject: services: configuration: Revert to a working ‘guix home’. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 543d971ed2a1d9eb934af1f51930741d7cc4e7ef, and its dependent commit 9b21cd2e9a614f1937769caf3917a791b151d841, which appear to have triggered a recent wave of ‘guix home’ regressions involving (services (list (service home-bash-service-type))): In gnu/home/services/shells.scm: 504:7 3 (home-bash-extensions #< package: # …) In unknown file: 2 (append #< file: "…" line: 14 column: 12> ()) In ice-9/boot-9.scm: 1685:16 1 (raise-exception _ #:continuable? _) 1685:16 0 (raise-exception _ #:continuable? _) ice-9/boot-9.scm:1685:16: In procedure raise-exception: In procedure append: Wrong type argument in position 1 (expecting empty list): #< file: "…" line: 14 column: 12> I should love to dive in & fix this rather than revert, but urgently need sleep. --- doc/guix.texi | 45 +++++++++------------------------------------ 1 file changed, 9 insertions(+), 36 deletions(-) (limited to 'doc') diff --git a/doc/guix.texi b/doc/guix.texi index ef3b8e127e..4d974be53e 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -19019,33 +19019,20 @@ words, it is possible to define services that provide additional mcron jobs to run. @end defvr -@c Generated via (generate-documentation) at the bottom of (gnu services -@c mcron). -@c %start of fragment @deftp {Data Type} mcron-configuration -Available @code{mcron-configuration} fields are: +Data type representing the configuration of mcron. @table @asis -@item @code{mcron} (default: @code{mcron}) (type: file-like) +@item @code{mcron} (default: @var{mcron}) The mcron package to use. -@item @code{jobs} (default: @code{()}) (type: list-of-gexps) +@item @code{jobs} This is a list of gexps (@pxref{G-Expressions}), where each gexp corresponds to an mcron job specification (@pxref{Syntax, mcron job -specifications,, mcron,GNU@tie{}mcron}). - -@item @code{log?} (default: @code{#t}) (type: boolean) -Log messages to standard output. - -@item @code{log-format} (default: @code{"~1@@*~a ~a: ~a~%"}) (type: string) -@code{(ice-9 format)} format string for log messages. The default value -produces messages like "@samp{@var{pid} @var{name}: @var{message}"} -(@pxref{Invoking mcron, Invoking,, mcron,GNU@tie{}mcron}). Each message -is also prefixed by a timestamp by GNU Shepherd. - +specifications,, mcron, GNU@tie{}mcron}). @end table @end deftp -@c %end of fragment + @node Log Rotation @subsection Log Rotation @@ -41081,32 +41068,18 @@ jobs to run. @end defvr @deftp {Data Type} home-mcron-configuration -Available @code{home-mcron-configuration} fields are: +Data type representing the configuration of mcron. -@c Auto-generated with (gnu home services mcron)'s -@c generate-documentation procedure. -@c %start of fragment @table @asis -@item @code{mcron} (default: @code{mcron}) (type: file-like) +@item @code{mcron} (default: @var{mcron}) The mcron package to use. -@item @code{jobs} (default: @code{()}) (type: list-of-gexps) +@item @code{jobs} This is a list of gexps (@pxref{G-Expressions}), where each gexp corresponds to an mcron job specification (@pxref{Syntax, mcron job -specifications,, mcron,GNU@tie{}mcron}). - -@item @code{log?} (default: @code{#t}) (type: boolean) -Log messages to standard output. - -@item @code{log-format} (default: @code{"~1@@*~a ~a: ~a~%"}) (type: string) -@code{(ice-9 format)} format string for log messages. The default value -produces messages like "@samp{@var{pid} @var{name}: @var{message}"} -(@pxref{Invoking mcron, Invoking,, mcron,GNU@tie{}mcron}). Each message -is also prefixed by a timestamp by GNU Shepherd. - +specifications,, mcron, GNU@tie{}mcron}). @end table @end deftp -@c %end of fragment @node Power Management Home Services @subsection Power Management Home Services -- cgit 1.4.1