refactor: rename clanLib.values to introspection

This commit is contained in:
Johannes Kirschbauer
2025-04-27 13:10:42 +02:00
parent 5aa8715e9f
commit 7007b7d62e
2 changed files with 6 additions and 3 deletions

View File

@@ -209,7 +209,7 @@ in
inherit inventoryFile;
inventoryValuesPrios =
# Temporary workaround
builtins.removeAttrs (clan-core.clanLib.values.getPrios { options = inventory.options; })
builtins.removeAttrs (clan-core.clanLib.introspection.getPrios { options = inventory.options; })
# tags are freeformType which is not supported yet.
[ "tags" ];

View File

@@ -28,8 +28,11 @@ lib.fix (clanLib: {
test = clanLib.callLib ./test { };
# Plain imports.
values = import ./introspection { inherit lib; };
introspection = import ./introspection { inherit lib; };
jsonschema = import ./jsonschema { inherit lib; };
inherit (self.inputs.nix-select.lib) parseSelector applySelectors select;
facts = import ./facts.nix { inherit lib; };
# Passthrough from self.inputs
# TODO: Can we make these agnostic from the name of the input?
inherit (self.inputs.nix-select.lib) parseSelector applySelectors select;
})