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 059cc1e2ea
commit e37f16f47a
12 changed files with 19 additions and 19 deletions

View File

@@ -29,7 +29,7 @@ in
inherit lib;
inherit (inputs) nixpkgs;
clan-core = self;
buildClan = self.lib.buildClan;
buildClan = self.clanLib.buildClan;
};
checks = {
lib-build-clan-eval = pkgs.runCommand "tests" { nativeBuildInputs = [ pkgs.nix-unit ]; } ''

View File

@@ -17,7 +17,7 @@ let
inherit (config.clanInternals) inventory;
inherit (clan-core.lib.inventory) buildInventory;
inherit (clan-core.clanLib.inventory) buildInventory;
supportedSystems = [
"x86_64-linux"
@@ -254,7 +254,7 @@ in
inherit darwinConfigurations;
clanInternals = {
moduleSchemas = clan-core.lib.modules.getModulesSchema config.inventory.modules;
moduleSchemas = clan-core.clanLib.modules.getModulesSchema config.inventory.modules;
inherit inventoryClass;
distributedServices = clan-core.clanLib.inventory.mapInstances {
inherit inventory;
@@ -268,7 +268,7 @@ in
inherit inventoryFile;
inventoryValuesPrios =
# Temporary workaround
builtins.removeAttrs (clan-core.lib.values.getPrios { options = inventory.options; })
builtins.removeAttrs (clan-core.clanLib.values.getPrios { options = inventory.options; })
# tags are freeformType which is not supported yet.
[ "tags" ];