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>
This commit is contained in:
awwpotato 2025-07-30 07:12:40 -07:00 committed by GitHub
parent 4bfd32c8f9
commit b4e1daad3b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 101 additions and 1 deletions

View file

@ -4,7 +4,8 @@
./dev-shell.nix
./packages.nix
./pre-commit.nix
./treefmt.nix
./public-and-dev-version-consistency.nix
./subsystem-maintainers.nix
./treefmt.nix
];
}

View file

@ -0,0 +1,17 @@
{ 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
]
);
};
}

View file

@ -24,6 +24,7 @@
{
inherit (config.partitions.dev.module.flake.packages.${system})
all-maintainers
subsystem-maintainers
;
}
(lib.mkIf pkgs.stdenv.hostPlatform.isLinux (