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:
Bruno Victal 2023-03-26 19:41:31 +01:00 committed by Maxim Cournoyer
parent 7eefd64a37
commit 420adff18e
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -140,14 +140,6 @@ (define (uglify-field-name field-name)
(define 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