2.home-manager/modules/lib/stdlib-extended.nix
Austin Horstman c4ab19c919 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>
2026-03-19 15:16:56 -05:00

22 lines
535 B
Nix

# Just a convenience function that returns the given Nixpkgs standard
# library extended with the HM library.
nixpkgsLib:
let
mkHmLib = import ./.;
in
nixpkgsLib.extend (
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;
}
)