pkgs-lib/hocon: fix type for _includes (#392854)

This commit is contained in:
h7x4
2025-03-30 22:33:22 +02:00
committed by GitHub

View File

@@ -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')
])
// {