checks: rename attributes for better discoverability

- all eval checks prefixed with `eval-`
- all service checks prefixed with `service-`
This commit is contained in:
DavHau
2025-06-30 19:04:21 +07:00
parent 8b1e8201aa
commit 73b298d0b2
7 changed files with 30 additions and 28 deletions

View File

@@ -20,7 +20,7 @@ in
};
checks = {
lib-distributedServices-eval = pkgs.runCommand "tests" { nativeBuildInputs = [ pkgs.nix-unit ]; } ''
eval-lib-distributedServices = pkgs.runCommand "tests" { nativeBuildInputs = [ pkgs.nix-unit ]; } ''
export HOME="$(realpath .)"
nix-unit --eval-store "$HOME" \
--extra-experimental-features flakes \

View File

@@ -26,7 +26,7 @@ in
devShells.inventory-schema = pkgs.mkShell {
name = "clan-inventory-schema";
inputsFrom = with config.checks; [
lib-inventory-eval
eval-lib-inventory
self'.devShells.default
];
};
@@ -62,7 +62,7 @@ in
};
checks = {
lib-inventory-eval = pkgs.runCommand "tests" { nativeBuildInputs = [ pkgs.nix-unit ]; } ''
eval-lib-inventory = pkgs.runCommand "tests" { nativeBuildInputs = [ pkgs.nix-unit ]; } ''
export HOME="$(realpath .)"
export NIX_ABORT_ON_WARN=1
nix-unit --eval-store "$HOME" \