mpv: allow string values in scripts list
Fixes #976
(cherry picked from commit 297ed97166
)
This commit is contained in:
parent
8d663335eb
commit
f5c9303ced
|
@ -55,7 +55,7 @@ in {
|
|||
enable = mkEnableOption "mpv";
|
||||
|
||||
scripts = mkOption {
|
||||
type = types.listOf types.package;
|
||||
type = with types; listOf (either package str);
|
||||
default = [];
|
||||
example = literalExample "[ pkgs.mpvScripts.mpris ]";
|
||||
description = ''
|
||||
|
|
Loading…
Reference in a new issue