mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 04:35:41 +03:00
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:
parent
2680e0beca
commit
f3db57edfa
1 changed files with 5 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue