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.
This commit is contained in:
Ludovic Courtès 2019-04-05 17:43:22 +02:00
parent 0cf981a606
commit 3ef3bdf1cd
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 1 additions and 1 deletions

View File

@ -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)))