1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-10-31 16:29:44 +01: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";
scripts = mkOption {
type = types.listOf types.package;
type = with types; listOf (either package str);
default = [];
example = literalExample "[ pkgs.mpvScripts.mpris ]";
description = ''