systemd: disable EFI support on AArch64

It seemingly isn't used by NixOS and currently breaks AArch64 build.
This commit is contained in:
Nikolay Amiantov 2018-03-28 15:40:48 +03:00
parent 2162eb4bed
commit 0402877344

@ -75,7 +75,7 @@ in stdenv.mkDerivation rec {
"-Dsystem-gid-max=499"
# "-Dtime-epoch=1"
(if stdenv.isArm || !hostPlatform.isEfi then "-Dgnu-efi=false" else "-Dgnu-efi=true")
(if stdenv.isArm || stdenv.isAarch64 || !hostPlatform.isEfi then "-Dgnu-efi=false" else "-Dgnu-efi=true")
"-Defi-libdir=${toString gnu-efi}/lib"
"-Defi-includedir=${toString gnu-efi}/include/efi"
"-Defi-ldsdir=${toString gnu-efi}/lib"