From f5c9303cedd67a57121f0cbe69b585fb74ba82d9 Mon Sep 17 00:00:00 2001 From: Robert Helgesson Date: Sat, 11 Jan 2020 17:44:04 +0100 Subject: [PATCH] mpv: allow string values in scripts list Fixes #976 (cherry picked from commit 297ed9716645eab0a9a96c32a2861a7be61846d7) --- 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 1051f71c..8b9c191c 100644 --- a/modules/programs/mpv.nix +++ b/modules/programs/mpv.nix @@ -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 = ''