lib: extend lib to include hm maintainers

Upstream change is validating all maintainers against lib.maintainers,
need to merge our maintainer list in to pass doc building.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
(cherry picked from commit c4ab19c919)
This commit is contained in:
Austin Horstman 2026-03-19 15:12:45 -05:00
parent 084e7e6df9
commit 0d8ecc86c5

View file

@ -7,7 +7,16 @@ let
mkHmLib = import ./.;
in
nixpkgsLib.extend (
self: super: {
hm = mkHmLib { lib = self; };
self: super:
let
hmLib = mkHmLib { lib = self; };
in
{
hm = hmLib;
# Nixpkgs now validates meta.maintainers against lib.maintainers.
# Mirror Home Manager-only maintainers there so existing lib.hm.maintainers
# references continue to satisfy the upstream type check.
maintainers = super.maintainers // hmLib.maintainers;
}
)