summaryrefslogtreecommitdiff
path: root/overlays/sources.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2023-04-10 20:56:16 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2023-04-10 20:56:16 +0200
commitc0e3d0e72d9d636728a5171511e3ce1003203567 (patch)
treec75fbcfe4802c48fd5162792f38475d74d2cad57 /overlays/sources.nix
parent24207674f36e900fd2aa51787cb70756413962c2 (diff)
downloadnixos-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.nix7
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
3with prev.lib;
4
5{
6 sources = (prev.formats.json {}).generate "sources.json" (mapAttrs (_: { src, ... }: toString src) (filterAttrs (name: _: !(elem name ["override" "overrideDerivation"])) sources));
7}