nixos/tests/installer: include x86_64-darwin in platforms for uefi tests

Also makes it so that we only set `meta.platforms` in cases where we need
to restrict it; otherwise, we go with the default.
This commit is contained in:
Winter 2025-05-19 01:55:26 -04:00
parent 2680e0beca
commit f3db57edfa

View file

@ -651,14 +651,11 @@ let
# put global maintainers here, individuals go into makeInstallerTest fkt call
maintainers = (meta.maintainers or [ ]);
# non-EFI tests can only run on x86
platforms =
if isEfi then
platforms.linux
else
[
"x86_64-linux"
"i686-linux"
];
platforms = lib.mkIf (!isEfi) [
"x86_64-linux"
"x86_64-darwin"
"i686-linux"
];
};
nodes =
let