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:
parent
084e7e6df9
commit
0d8ecc86c5
1 changed files with 11 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue