Fix schema test

This commit is contained in:
Johannes Kirschbauer
2024-07-14 13:37:40 +02:00
parent c03b667df4
commit 96e7d93e01

View File

@@ -94,7 +94,7 @@ def machine_schema(
++ (map (name: clan-core.clanModules.${{name}}) config.clanImports or []);
}};
options = fakeMachine.options{"." + ".".join(option_path) if option_path else ""};
jsonschemaLib = import {Path(__file__).parent / "jsonschema"} {{ inherit lib; }};
jsonschemaLib = import {Path(__file__).parent / "jsonschema"} {{ inherit lib; }} {{}};
jsonschema = jsonschemaLib.parseOptions options;
in
jsonschema