refactor: rename clanLib.values to introspection
This commit is contained in:
@@ -209,7 +209,7 @@ in
|
|||||||
inherit inventoryFile;
|
inherit inventoryFile;
|
||||||
inventoryValuesPrios =
|
inventoryValuesPrios =
|
||||||
# Temporary workaround
|
# 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 are freeformType which is not supported yet.
|
||||||
[ "tags" ];
|
[ "tags" ];
|
||||||
|
|
||||||
|
|||||||
@@ -28,8 +28,11 @@ lib.fix (clanLib: {
|
|||||||
test = clanLib.callLib ./test { };
|
test = clanLib.callLib ./test { };
|
||||||
|
|
||||||
# Plain imports.
|
# Plain imports.
|
||||||
values = import ./introspection { inherit lib; };
|
introspection = import ./introspection { inherit lib; };
|
||||||
jsonschema = import ./jsonschema { inherit lib; };
|
jsonschema = import ./jsonschema { inherit lib; };
|
||||||
inherit (self.inputs.nix-select.lib) parseSelector applySelectors select;
|
|
||||||
facts = import ./facts.nix { inherit lib; };
|
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