11.stylix/flake/dev/subsystem-maintainers.nix
awwpotato b4e1daad3b
ci: request subsystem maintainers review (#1053)
Link: https://github.com/nix-community/stylix/pull/1053

Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: Daniel Thwaites <danth@danth.me>
Reviewed-by: Matt Sturgeon <matt@sturgeon.me.uk>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-07-30 16:12:40 +02:00

17 lines
465 B
Nix

{ lib, ... }:
{
perSystem =
{ pkgs, ... }:
{
packages.subsystem-maintainers = pkgs.writeText "subsystem-maintainers" (
lib.pipe ../../stylix/meta.nix [
(lib.flip pkgs.callPackage { })
(lib.mapAttrs (
_: meta: map (maintainer: maintainer.github) (meta.maintainers or [ ])
))
(lib.mapAttrs' (name: lib.nameValuePair "modules/${name}/"))
builtins.toJSON
]
);
};
}