mpv: prohibit string values in scripts

Strings as scripts don't currently work, and probably haven't worked
since b567d273 (mpv: use wrapMpv instead of mpv-with-scripts,
2020-05-31).
This commit is contained in:
ash 2022-07-04 15:53:07 +01:00 committed by Robert Helgesson
parent 241a375f49
commit 66d7007e43
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -77,7 +77,7 @@ in {
};
scripts = mkOption {
type = with types; listOf (either package str);
type = with types; listOf package;
default = [ ];
example = literalExpression "[ pkgs.mpvScripts.mpris ]";
description = ''