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

h7x4 dca60f2b 7c1d71fd

Changed files
+4 -1
pkgs
pkgs-lib
formats
hocon
+4 -1
pkgs/pkgs-lib/formats/hocon/default.nix
···
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')
])
// {