tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
pkgs-lib/hocon: fix type for `_includes`
h7x4
10 months ago
d6041cc2
f6089dbf
+4
-1
1 changed file
expand all
collapse all
unified
split
pkgs
pkgs-lib
formats
hocon
default.nix
+4
-1
pkgs/pkgs-lib/formats/hocon/default.nix
···
113
113
path
114
114
str
115
115
]);
116
116
+
117
117
+
includeType = addCheck attrs (x: (x._type or null) == "include");
116
118
in
117
119
(oneOf [
118
120
atomType
119
119
-
(listOf atomType)
121
121
+
(addCheck (listOf atomType) (lib.all atomType.check))
122
122
+
(addCheck (listOf includeType) (lib.all includeType.check))
120
123
(attrsOf type')
121
124
])
122
125
// {