From 66d7007e4354e7c19257e0b4fc576f61fde2e1e0 Mon Sep 17 00:00:00 2001 From: ash Date: Mon, 4 Jul 2022 15:53:07 +0100 Subject: [PATCH] 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). --- modules/programs/mpv.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/programs/mpv.nix b/modules/programs/mpv.nix index 0d7668cfa..47413490d 100644 --- a/modules/programs/mpv.nix +++ b/modules/programs/mpv.nix @@ -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 = ''