flake: add checks (#21)

this way, you can run `nix flake check --all-systems` after making a change to ensure the entire foundation still builds

Reviewed-on: #21
Reviewed-by: Jake Hamilton <jake.hamilton@hey.com>
Co-authored-by: Piper McCorkle <contact@piperswe.me>
Co-committed-by: Piper McCorkle <contact@piperswe.me>
This commit is contained in:
Piper McCorkle 2025-10-18 15:38:32 +00:00 committed by Jake Hamilton
parent 7505679c24
commit f67099f486

View file

@ -13,7 +13,7 @@
forEachSystem = lib.attrs.generate [ "i686-linux" ];
in
{
rec {
extras =
let
result = lib.modules.run { modules = builtins.attrValues modules; };
@ -31,5 +31,7 @@
in
export result
);
checks = packages;
};
}