summary refs log tree commit diff
diff options
context:
space:
mode:
authorEmery Hemingway <ehmry@posteo.net>2022-05-20 12:02:48 -0500
committerEmery Hemingway <ehmry@posteo.net>2022-05-20 12:02:48 -0500
commit25e4e7af034950c2d0f408b4b12b362968572ac2 (patch)
treeedb3f323fee76b1db8083081c5710480b1ffd93d
parentcf099ebfbaf8999cfd36a0dde095be7d350e4aaf (diff)
downloadnixpkgs-25e4e7af034950c2d0f408b4b12b362968572ac2.tar
nixpkgs-25e4e7af034950c2d0f408b4b12b362968572ac2.tar.gz
nixpkgs-25e4e7af034950c2d0f408b4b12b362968572ac2.tar.bz2
nixpkgs-25e4e7af034950c2d0f408b4b12b362968572ac2.tar.lz
nixpkgs-25e4e7af034950c2d0f408b4b12b362968572ac2.tar.xz
nixpkgs-25e4e7af034950c2d0f408b4b12b362968572ac2.tar.zst
nixpkgs-25e4e7af034950c2d0f408b4b12b362968572ac2.zip
ipxe: do not call syslinux on aarch64
-rw-r--r--pkgs/tools/misc/ipxe/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/tools/misc/ipxe/default.nix b/pkgs/tools/misc/ipxe/default.nix
index 601f2a57eea..dacc3416c93 100644
--- a/pkgs/tools/misc/ipxe/default.nix
+++ b/pkgs/tools/misc/ipxe/default.nix
@@ -40,6 +40,10 @@ stdenv.mkDerivation rec {
     sha256 = "SrTNEYk13JXAcJuogm9fZ7CrzJIDRc0aziGdjRNv96I=";
   };
 
+  postPatch = lib.optionalString stdenv.hostPlatform.isAarch64 ''
+    substituteInPlace src/util/genfsimg --replace "	syslinux " "	true "
+  ''; # calling syslinux on a FAT image isn't going to work
+
   # not possible due to assembler code
   hardeningDisable = [ "pic" "stackprotector" ];