Unverified Commit dca60f2b authored by h7x4's avatar h7x4 Committed by GitHub
Browse files

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

parents 7c1d71fd d6041cc2
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')
            ])
            // {