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