Derive inventory checks from supported platforms #1

Merged
vnprc merged 1 commit from agent/derive-platform-checks into master 2026-06-27 17:28:55 +01:00
Member

Summary

  • Generate inventory checks for each platform in lib.supportedPlatforms.
  • Remove the non-source-of-truth x86_64-linux check key and package-set literal outside the machine declaration.

Refs allod/strategy#5

Validation

  • nix eval --json .#lib.supportedPlatforms
  • for check_system in $(nix eval --json .#lib.supportedPlatforms | jq -r '.[]'); do nix flake show --json 2>/tmp/inventory-show.err | jq -e --arg system "$check_system" '.checks[$system] | has("vm-specs-json") and has("repository-registry")'; done
  • for check_system in $(nix eval --json .#lib.supportedPlatforms | jq -r '.[]'); do nix build ".#checks.${check_system}.vm-specs-json"; nix build ".#checks.${check_system}.repository-registry"; done
  • nix flake check
## Summary - Generate inventory checks for each platform in `lib.supportedPlatforms`. - Remove the non-source-of-truth `x86_64-linux` check key and package-set literal outside the machine declaration. Refs allod/strategy#5 ## Validation - `nix eval --json .#lib.supportedPlatforms` - `for check_system in $(nix eval --json .#lib.supportedPlatforms | jq -r '.[]'); do nix flake show --json 2>/tmp/inventory-show.err | jq -e --arg system "$check_system" '.checks[$system] | has("vm-specs-json") and has("repository-registry")'; done` - `for check_system in $(nix eval --json .#lib.supportedPlatforms | jq -r '.[]'); do nix build ".#checks.${check_system}.vm-specs-json"; nix build ".#checks.${check_system}.repository-registry"; done` - `nix flake check`
vnprc approved these changes 2026-06-27 17:28:49 +01:00
vnprc merged commit 2a74930cb4 into master 2026-06-27 17:28:55 +01:00
vnprc deleted branch agent/derive-platform-checks 2026-06-27 17:28:55 +01:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
allod/inventory!1
No description provided.