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>
22 lines
535 B
Nix
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;
|
|
}
|
|
)
|