From ad049483afa1cd792d654bc3386746022db94ba0 Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Mon, 2 Jan 2023 03:05:35 +0000 Subject: [PATCH] edk2: don't hardcode OSes in meta.platforms There's nothing about edk2 specific to the host OS, and it builds fine with e.g. a NetBSD toolchain, so we should only restrict meta.platforms by architecture, not by OS. --- pkgs/development/compilers/edk2/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/compilers/edk2/default.nix b/pkgs/development/compilers/edk2/default.nix index 43dc18244a91..8019d2131afd 100644 --- a/pkgs/development/compilers/edk2/default.nix +++ b/pkgs/development/compilers/edk2/default.nix @@ -83,7 +83,7 @@ edk2 = buildStdenv.mkDerivation { description = "Intel EFI development kit"; homepage = "https://github.com/tianocore/tianocore.github.io/wiki/EDK-II/"; license = licenses.bsd2; - platforms = [ "x86_64-linux" "i686-linux" "aarch64-linux" "x86_64-darwin" ]; + platforms = with platforms; aarch64 ++ i686 ++ x86_64; }; passthru = {