refactor: rename clanLib.values to introspection
This commit is contained in:
@@ -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" ];
|
||||
|
||||
|
||||
@@ -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;
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user