kodi: make type for settings less restrictive (#5277)

Allow list of attrset in the kodi settings to be able to define path substitutions.
This commit is contained in:
Patrick N.
2025-05-30 02:13:10 +02:00
committed by GitHub
parent 2f4db1cd5b
commit 8a4b382627

View File

@@ -165,9 +165,15 @@ in
type =
with types;
let
valueType = either str (attrsOf valueType) // {
description = "attribute sets of strings";
};
valueType =
oneOf [
str
(attrsOf valueType)
(listOf valueType)
]
// {
description = "attribute sets or lists of strings";
};
in
nullOr valueType;
default = null;