mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 13:49:23 -05:00
services: configuration: Fix typo.
* gnu/services/configuration.scm (interpose): Fix typo in doc. (text-config?): Add a newline following definition.
This commit is contained in:
parent
cbe8391d7c
commit
46fee48d5c
1 changed files with 2 additions and 1 deletions
|
@ -410,7 +410,7 @@ (define* (filter-configuration-fields configuration-fields fields
|
|||
|
||||
|
||||
(define* (interpose ls #:optional (delimiter "\n") (grammar 'infix))
|
||||
"Same as @code{string-join}, but without join and string, returns an
|
||||
"Same as @code{string-join}, but without join and string, returns a
|
||||
DELIMITER interposed LS. Support 'infix and 'suffix GRAMMAR values."
|
||||
(when (not (member grammar '(infix suffix)))
|
||||
(raise
|
||||
|
@ -442,6 +442,7 @@ (define serialize-file-like empty-serializer)
|
|||
|
||||
(define (text-config? config)
|
||||
(list-of file-like?))
|
||||
|
||||
(define (serialize-text-config field-name val)
|
||||
#~(string-append
|
||||
#$@(interpose
|
||||
|
|
Loading…
Reference in a new issue