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 @@ 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)))
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue