fix(lib/evalClan): evalClan is an explizit lib attribute
This commit is contained in:
@@ -13,8 +13,8 @@
|
|||||||
# { clanCore = «derivation JSON»; clanModules = { ${name} = «derivation JSON» }; }
|
# { clanCore = «derivation JSON»; clanModules = { ${name} = «derivation JSON» }; }
|
||||||
jsonDocs = pkgs.callPackage ./get-module-docs.nix {
|
jsonDocs = pkgs.callPackage ./get-module-docs.nix {
|
||||||
inherit (self) clanModules;
|
inherit (self) clanModules;
|
||||||
evalClanModules = self.lib.evalClanModules;
|
evalClanModules = self.lib.evalClan.evalClanModules;
|
||||||
modulesRolesOptions = self.lib.evalClanModulesWithRoles self.clanModules;
|
modulesRolesOptions = self.lib.evalClan.evalClanModulesWithRoles self.clanModules;
|
||||||
};
|
};
|
||||||
|
|
||||||
# Frontmatter for clanModules
|
# Frontmatter for clanModules
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ let
|
|||||||
lib.mapAttrs (
|
lib.mapAttrs (
|
||||||
_moduleName: rolesOptions:
|
_moduleName: rolesOptions:
|
||||||
lib.mapAttrs (_roleName: options: jsonWithoutHeader.parseOptions options { }) rolesOptions
|
lib.mapAttrs (_roleName: options: jsonWithoutHeader.parseOptions options { }) rolesOptions
|
||||||
) (clanLib.evalClanModulesWithRoles modules);
|
) (clanLib.evalClan.evalClanModulesWithRoles modules);
|
||||||
|
|
||||||
evalFrontmatter =
|
evalFrontmatter =
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user