mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-13 21:25:30 +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
|
# put global maintainers here, individuals go into makeInstallerTest fkt call
|
||||||
maintainers = (meta.maintainers or [ ]);
|
maintainers = (meta.maintainers or [ ]);
|
||||||
# non-EFI tests can only run on x86
|
# non-EFI tests can only run on x86
|
||||||
platforms =
|
platforms = lib.mkIf (!isEfi) [
|
||||||
if isEfi then
|
"x86_64-linux"
|
||||||
platforms.linux
|
"x86_64-darwin"
|
||||||
else
|
"i686-linux"
|
||||||
[
|
];
|
||||||
"x86_64-linux"
|
|
||||||
"i686-linux"
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
nodes =
|
nodes =
|
||||||
let
|
let
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue