aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2019-04-05 17:43:22 +0200
committerLudovic Courtès <ludo@gnu.org>2019-04-05 17:55:50 +0200
commit3ef3bdf1cd52965457c6664e15d03dc6370925b0 (patch)
tree4a52b7e35379f0d160bb6f8284e3e35b2729dfb9
parent0cf981a6066711f6e830a3f1d40f7c265b0bac94 (diff)
downloadpatches-3ef3bdf1cd52965457c6664e15d03dc6370925b0.tar
patches-3ef3bdf1cd52965457c6664e15d03dc6370925b0.tar.gz
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.
-rw-r--r--gnu/services/xorg.scm2
1 files changed, 1 insertions, 1 deletions
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)))