1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-20 16:59:47 +01:00

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 { scripts = mkOption {
type = with types; listOf (either package str); type = with types; listOf package;
default = [ ]; default = [ ];
example = literalExpression "[ pkgs.mpvScripts.mpris ]"; example = literalExpression "[ pkgs.mpvScripts.mpris ]";
description = '' description = ''