Derive inventory checks from supported platforms #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "agent/derive-platform-checks"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
lib.supportedPlatforms.x86_64-linuxcheck key and package-set literal outside the machine declaration.Refs allod/strategy#5
Validation
nix eval --json .#lib.supportedPlatformsfor 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")'; donefor 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"; donenix flake check