Unverified Commit d6041cc2 authored by h7x4's avatar h7x4
Browse files

pkgs-lib/hocon: fix type for `_includes`

parent f6089dbf
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -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')
            ])
            // {