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:
parent
4bfd32c8f9
commit
b4e1daad3b
4 changed files with 101 additions and 1 deletions
|
|
@ -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
|
||||
];
|
||||
}
|
||||
|
|
|
|||
17
flake/dev/subsystem-maintainers.nix
Normal file
17
flake/dev/subsystem-maintainers.nix
Normal 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
|
||||
]
|
||||
);
|
||||
};
|
||||
}
|
||||
|
|
@ -24,6 +24,7 @@
|
|||
{
|
||||
inherit (config.partitions.dev.module.flake.packages.${system})
|
||||
all-maintainers
|
||||
subsystem-maintainers
|
||||
;
|
||||
}
|
||||
(lib.mkIf pkgs.stdenv.hostPlatform.isLinux (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue