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:
parent
0cf981a606
commit
3ef3bdf1cd
|
@ -704,7 +704,7 @@ makes the good ol' XlockMore usable."
|
||||||
'()
|
'()
|
||||||
`(("GUIX_XKB_OPTIONS"
|
`(("GUIX_XKB_OPTIONS"
|
||||||
,(string-join options ","))))))))
|
,(string-join options ","))))))))
|
||||||
(localed-configuration-localed config)))
|
'()))
|
||||||
|
|
||||||
(define localed-service-type
|
(define localed-service-type
|
||||||
(let ((package (compose list localed-configuration-localed)))
|
(let ((package (compose list localed-configuration-localed)))
|
||||||
|
|
Loading…
Reference in New Issue