{ prev, sources, ... }:

with prev.lib;

{
  sources = (prev.formats.json {}).generate "sources.json" (mapAttrs (_: { src, ... }: toString src) (filterAttrs (name: _: !(elem name ["override" "overrideDerivation"])) sources));
}