mirror of
https://github.com/nix-community/home-manager.git
synced 2026-06-05 21:02:51 +00:00
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:
@@ -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;
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user