From f3db57edfaebb32fa3ed3d3ba3e2b2c83513275e Mon Sep 17 00:00:00 2001 From: Winter Date: Mon, 19 May 2025 01:55:26 -0400 Subject: [PATCH] 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. --- nixos/tests/installer.nix | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/nixos/tests/installer.nix b/nixos/tests/installer.nix index 7ee3a771184a..30496a51e171 100644 --- a/nixos/tests/installer.nix +++ b/nixos/tests/installer.nix @@ -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