mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 21:59:08 -05:00
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
1 changed files with 1 additions and 1 deletions
|
@ -704,7 +704,7 @@ (define keyboard-layout
|
||||||
'()
|
'()
|
||||||
`(("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 a new issue