diff options
Diffstat (limited to 'overlays/sources.nix')
-rw-r--r-- | overlays/sources.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/overlays/sources.nix b/overlays/sources.nix new file mode 100644 index 00000000..a6de8045 --- /dev/null +++ b/overlays/sources.nix | |||
@@ -0,0 +1,7 @@ | |||
1 | { prev, sources, ... }: | ||
2 | |||
3 | with prev.lib; | ||
4 | |||
5 | { | ||
6 | sources = (prev.formats.json {}).generate "sources.json" (mapAttrs (_: { src, ... }: toString src) (filterAttrs (name: _: !(elem name ["override" "overrideDerivation"])) sources)); | ||
7 | } | ||