services: mpd: Fix unintentional API breakage for mixer-type field.
* gnu/services/audio.scm (mpd-output)[mixer-type]: Use sanitizer to accept both strings and symbols as values. Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
This commit is contained in:
		
							parent
							
								
									7eefd64a37
								
							
						
					
					
						commit
						420adff18e
					
				
					 1 changed files with 0 additions and 8 deletions
				
			
		| 
						 | 
					@ -140,14 +140,6 @@
 | 
				
			||||||
(define list-of-symbol?
 | 
					(define list-of-symbol?
 | 
				
			||||||
  (list-of symbol?))
 | 
					  (list-of symbol?))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
;; Helpers for deprecated field types, to be removed later.
 | 
					 | 
				
			||||||
(define %lazy-group (make-symbol "%lazy-group"))
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
(define (%set-user-group user group)
 | 
					 | 
				
			||||||
  (user-account
 | 
					 | 
				
			||||||
   (inherit user)
 | 
					 | 
				
			||||||
   (group (user-group-name group))))
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
;;;
 | 
					;;;
 | 
				
			||||||
;;; MPD
 | 
					;;; MPD
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue