From 3ef3bdf1cd52965457c6664e15d03dc6370925b0 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Fri, 5 Apr 2019 17:43:22 +0200 Subject: services: localed: Properly handle lack of a 'keyboard-layout'. Fixes a type error when KEYBOARD-LAYOUT is #f. * gnu/services/xorg.scm (localed-dbus-service): Return the empty list when KEYBOARD-LAYOUT is #f. --- gnu/services/xorg.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu/services') diff --git a/gnu/services/xorg.scm b/gnu/services/xorg.scm index ede8bc7304..d0e6c7cd5c 100644 --- a/gnu/services/xorg.scm +++ b/gnu/services/xorg.scm @@ -704,7 +704,7 @@ makes the good ol' XlockMore usable." '() `(("GUIX_XKB_OPTIONS" ,(string-join options ",")))))))) - (localed-configuration-localed config))) + '())) (define localed-service-type (let ((package (compose list localed-configuration-localed))) -- cgit 1.4.1