summary refs log tree commit diff
path: root/pkgs/development/compilers
diff options
context:
space:
mode:
authorTuomas Tynkkynen <tuomas@tuxera.com>2018-03-14 17:37:49 +0200
committerTuomas Tynkkynen <tuomas@tuxera.com>2018-03-21 23:19:26 +0200
commitf59eab75d2bb20e44aff84ccadf65e4024db6eb4 (patch)
tree68472c9a51ddf184bf3e4d8d7c594bcee95569af /pkgs/development/compilers
parent164501198375091b89e38ce3adba21f0466d61d1 (diff)
downloadnixlib-f59eab75d2bb20e44aff84ccadf65e4024db6eb4.tar
nixlib-f59eab75d2bb20e44aff84ccadf65e4024db6eb4.tar.gz
nixlib-f59eab75d2bb20e44aff84ccadf65e4024db6eb4.tar.bz2
nixlib-f59eab75d2bb20e44aff84ccadf65e4024db6eb4.tar.lz
nixlib-f59eab75d2bb20e44aff84ccadf65e4024db6eb4.tar.xz
nixlib-f59eab75d2bb20e44aff84ccadf65e4024db6eb4.tar.zst
nixlib-f59eab75d2bb20e44aff84ccadf65e4024db6eb4.zip
edk2, OVMF: Build on aarch64
And also build in parallel.

I don't understand why we manually tediously link every single directory
from the source, but I don't want to investigate too much.
Diffstat (limited to 'pkgs/development/compilers')
-rw-r--r--pkgs/development/compilers/edk2/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/development/compilers/edk2/default.nix b/pkgs/development/compilers/edk2/default.nix
index 5cc4846d3ae5..1dc4430dc6a7 100644
--- a/pkgs/development/compilers/edk2/default.nix
+++ b/pkgs/development/compilers/edk2/default.nix
@@ -7,6 +7,8 @@ targetArch = if stdenv.isi686 then
   "IA32"
 else if stdenv.isx86_64 then
   "X64"
+else if stdenv.isAarch64 then
+  "AARCH64"
 else
   throw "Unsupported architecture";
 
@@ -48,7 +50,7 @@ edk2 = stdenv.mkDerivation {
     homepage = https://sourceforge.net/projects/edk2/;
     license = stdenv.lib.licenses.bsd2;
     branch = "UDK2017";
-    platforms = ["x86_64-linux" "i686-linux"];
+    platforms = ["x86_64-linux" "i686-linux" "aarch64-linux"];
   };
 
   passthru = {