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
path
114
str
115
]);
0
0
116
in
117
(oneOf [
118
atomType
119
-
(listOf atomType)
0
120
(attrsOf type')
121
])
122
// {
···
113
path
114
str
115
]);
116
+
117
+
includeType = addCheck attrs (x: (x._type or null) == "include");
118
in
119
(oneOf [
120
atomType
121
+
(addCheck (listOf atomType) (lib.all atomType.check))
122
+
(addCheck (listOf includeType) (lib.all includeType.check))
123
(attrsOf type')
124
])
125
// {