tests/flake: check flake outputs for all systems

Now all `supportedSystems` from flake.nix are checked instead of only
the native system of the `nix flake check` process.
This commit is contained in:
Erik Arvstedt 2024-07-20 19:43:26 +02:00
parent b7bce52da9
commit 2a9489ec0b
No known key found for this signature in database
GPG Key ID: 33312B944DD97846
2 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@ task:
- name: flake
build_script:
- nix flake check
- nix flake check --all-systems
- ./test/nixos-search/ci-test.sh
- name: shellcheck

View File

@ -263,7 +263,7 @@ isNixVersionGreaterEqual_2_15() {
}
flake() {
nix flake check "$scriptDir/.."
nix flake check --all-systems "$scriptDir/.."
}
# Test generating module documentation for search.nixos.org