summaryrefslogtreecommitdiff
path: root/overlays/sources.nix
blob: a6de80452030d73b158ed4207e6732227e04ad8f (plain)
1
2
3
4
5
6
7
{ prev, sources, ... }:

with prev.lib;

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