pkgs-lib/hocon: fix type for _includes
This commit is contained in:
parent
f6089dbf47
commit
d6041cc2ca
@ -113,10 +113,13 @@ in
|
|||||||
path
|
path
|
||||||
str
|
str
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
includeType = addCheck attrs (x: (x._type or null) == "include");
|
||||||
in
|
in
|
||||||
(oneOf [
|
(oneOf [
|
||||||
atomType
|
atomType
|
||||||
(listOf atomType)
|
(addCheck (listOf atomType) (lib.all atomType.check))
|
||||||
|
(addCheck (listOf includeType) (lib.all includeType.check))
|
||||||
(attrsOf type')
|
(attrsOf type')
|
||||||
])
|
])
|
||||||
// {
|
// {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user