ci: verify that meta.maintainers evaluate

Fixes #2588
This commit is contained in:
Robert Helgesson
2021-12-29 10:15:39 +01:00
parent eeafec5103
commit a3457d3f85
3 changed files with 12 additions and 0 deletions

View File

@@ -117,4 +117,14 @@ in {
manPages = docs.manPages;
manual = { inherit (docs) html htmlOpenTool; };
# Unstable, mainly for CI.
jsonModuleMaintainers = pkgs.writeText "hm-module-maintainers.json" (let
result = lib.evalModules {
modules = import ../modules/modules.nix {
inherit lib pkgs;
check = false;
} ++ [ scrubbedPkgsModule ];
};
in builtins.toJSON result.config.meta.maintainers);
}