[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
12/13: services: messaging: Fix two copy-paste mistakes; avoid warnings.
From: |
guix-commits |
Subject: |
12/13: services: messaging: Fix two copy-paste mistakes; avoid warnings. |
Date: |
Tue, 5 Apr 2022 14:43:11 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 9ef6d80ef4a2c61f1307ca1ba072a77c8e294e9d
Author: Attila Lendvai <attila@lendvai.name>
AuthorDate: Fri Apr 1 21:19:28 2022 +0200
services: messaging: Fix two copy-paste mistakes; avoid warnings.
* gnu/services/messaging.scm (file-name-list, file-object-list): Fix
name in 'define-maybe' instances.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/services/messaging.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/services/messaging.scm b/gnu/services/messaging.scm
index 6ed55453db..4bceb1d37a 100644
--- a/gnu/services/messaging.scm
+++ b/gnu/services/messaging.scm
@@ -180,7 +180,7 @@
(and (list? val) (and-map file-name? val)))
(define (serialize-file-name-list field-name val)
(serialize-string-list field-name val))
-(define-maybe file-name)
+(define-maybe file-name-list)
(define (file-object? val)
(or (file-like? val) (file-name? val)))
@@ -192,7 +192,7 @@
(and (list? val) (and-map file-object? val)))
(define (serialize-file-object-list field-name val)
(serialize-string-list field-name val))
-(define-maybe file-object)
+(define-maybe file-object-list)
(define (raw-content? val)
(not (eq? val 'disabled)))
- 03/13: doc: Update the sample yggdrasil-private.conf., (continued)
- 03/13: doc: Update the sample yggdrasil-private.conf., guix-commits, 2022/04/05
- 06/13: gnu: python-dotenv: Update to 0.20.0., guix-commits, 2022/04/05
- 08/13: gnu: python-w3lib: Fix build., guix-commits, 2022/04/05
- 02/13: gnu: curlie: Update to 1.6.9, guix-commits, 2022/04/05
- 01/13: gnu: xmonad-next: Change #:phases to gexp., guix-commits, 2022/04/05
- 04/13: gnu: celluloid: Update to 0.23., guix-commits, 2022/04/05
- 05/13: gnu: linux: Allow kconfig options to be strings, guix-commits, 2022/04/05
- 07/13: gnu: python-gst: Fix the concatenation of install path., guix-commits, 2022/04/05
- 09/13: gnu: pantheon-calculator: Update to 1.7.2., guix-commits, 2022/04/05
- 10/13: gnu: phodav: Use libsoup 2 instead of libsoup 3., guix-commits, 2022/04/05
- 12/13: services: messaging: Fix two copy-paste mistakes; avoid warnings.,
guix-commits <=
- 11/13: gnu: plocate: Build with "--sharedstatedir=/var"., guix-commits, 2022/04/05
- 13/13: gnu: l2md: Update to 9db252bc., guix-commits, 2022/04/05