From 35b4b293024bd648a0bdd06c5b051a859e081c64 Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Mon, 2 Jan 2023 03:31:01 +0000 Subject: [PATCH] edk2: add 32-bit ARM support --- pkgs/development/compilers/edk2/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/development/compilers/edk2/default.nix b/pkgs/development/compilers/edk2/default.nix index 8019d2131af..3397252b47a 100644 --- a/pkgs/development/compilers/edk2/default.nix +++ b/pkgs/development/compilers/edk2/default.nix @@ -17,6 +17,8 @@ targetArch = if stdenv.isi686 then "IA32" else if stdenv.isx86_64 then "X64" +else if stdenv.isAarch32 then + "ARM" else if stdenv.isAarch64 then "AARCH64" else @@ -83,7 +85,7 @@ edk2 = buildStdenv.mkDerivation { description = "Intel EFI development kit"; homepage = "https://github.com/tianocore/tianocore.github.io/wiki/EDK-II/"; license = licenses.bsd2; - platforms = with platforms; aarch64 ++ i686 ++ x86_64; + platforms = with platforms; aarch64 ++ arm ++ i686 ++ x86_64; }; passthru = {