fix(inventory/instances): fix jsonschema compatibility

This commit is contained in:
Johannes Kirschbauer
2025-03-27 19:35:59 +01:00
parent 8a0e4b4ac4
commit ca1777fddc
4 changed files with 14 additions and 24 deletions

View File

@@ -15,24 +15,6 @@ in
...
}:
{
devShells.inventory-schema = pkgs.mkShell {
inputsFrom = with config.checks; [
lib-inventory-eval
self'.devShells.default
];
};
legacyPackages.schemas = (
import ./schemas {
inherit
pkgs
self
lib
self'
;
}
);
# Run: nix-unit --extra-experimental-features flakes --flake .#legacyPackages.x86_64-linux.<attrName>
legacyPackages.evalTest-distributedServices = import ./tests {
inherit lib self;
@@ -45,7 +27,7 @@ in
nix-unit --eval-store "$HOME" \
--extra-experimental-features flakes \
${inputOverrides} \
--flake ${self}#legacyPackages.${system}.distributedServices
--flake ${self}#legacyPackages.${system}.evalTest-distributedServices
touch $out
'';