diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2023-04-10 20:56:16 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2023-04-10 20:56:16 +0200 |
commit | c0e3d0e72d9d636728a5171511e3ce1003203567 (patch) | |
tree | c75fbcfe4802c48fd5162792f38475d74d2cad57 /overlays/sources.nix | |
parent | 24207674f36e900fd2aa51787cb70756413962c2 (diff) | |
download | nixos-c0e3d0e72d9d636728a5171511e3ce1003203567.tar nixos-c0e3d0e72d9d636728a5171511e3ce1003203567.tar.gz nixos-c0e3d0e72d9d636728a5171511e3ce1003203567.tar.bz2 nixos-c0e3d0e72d9d636728a5171511e3ce1003203567.tar.xz nixos-c0e3d0e72d9d636728a5171511e3ce1003203567.zip |
bump
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 | } | ||