1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-29 09:58:32 +02:00

mpv: allow string values in scripts list

Fixes #976
This commit is contained in:
Robert Helgesson 2020-01-11 17:44:04 +01:00
parent 0fce533e70
commit 297ed97166
No known key found for this signature in database
GPG Key ID: 36BDAA14C2797E89

View File

@ -55,7 +55,7 @@ in {
enable = mkEnableOption "mpv"; enable = mkEnableOption "mpv";
scripts = mkOption { scripts = mkOption {
type = types.listOf types.package; type = with types; listOf (either package str);
default = []; default = [];
example = literalExample "[ pkgs.mpvScripts.mpris ]"; example = literalExample "[ pkgs.mpvScripts.mpris ]";
description = '' description = ''