treewide(clanLib): rename all occurences of {clan-core,self}.lib to 'clanLib'

This commit is contained in:
Johannes Kirschbauer
2025-04-09 11:32:46 +02:00
parent c357cfa29f
commit a6a79e83a0
12 changed files with 19 additions and 19 deletions

View File

@@ -74,7 +74,7 @@ let
roles =
if builtins.elem "inventory" frontmatter.features or [ ] then
assert lib.isPath module;
clan-core.lib.modules.getRoles "Documentation: inventory.modules" allModules moduleName
clan-core.clanLib.modules.getRoles "Documentation: inventory.modules" allModules moduleName
else
[ ];
in

View File

@@ -6,16 +6,16 @@
}:
let
modulesSchema = self.lib.modules.getModulesSchema {
modulesSchema = self.clanLib.modules.getModulesSchema {
modules = self.clanModules;
inherit pkgs;
clan-core = self;
};
jsonLib = self.lib.jsonschema { inherit includeDefaults; };
jsonLib = self.clanLib.jsonschema { inherit includeDefaults; };
includeDefaults = true;
frontMatterSchema = jsonLib.parseOptions self.lib.modules.frontmatterOptions { };
frontMatterSchema = jsonLib.parseOptions self.clanLib.modules.frontmatterOptions { };
inventorySchema = jsonLib.parseModule (import ../build-inventory/interface.nix);