guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/04: services: localed: Properly handle lack of a 'keyboard-layout'.


From: guix-commits
Subject: 02/04: services: localed: Properly handle lack of a 'keyboard-layout'.
Date: Fri, 5 Apr 2019 11:55:57 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 3ef3bdf1cd52965457c6664e15d03dc6370925b0
Author: Ludovic Court├Ęs <address@hidden>
Date:   Fri Apr 5 17:43:22 2019 +0200

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

diff --git a/gnu/services/xorg.scm b/gnu/services/xorg.scm
index ede8bc7..d0e6c7c 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)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]