From 7a7de0beb0b930f4c2b7e6c01488b0fa0cc19d9b Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Thu, 16 May 2024 23:35:56 +0100 Subject: [PATCH] kexec-tools: pull upstream fix for binutils-2.42 Without the change the build fails against `binutils-2.42` as: Error: 64bit mode not supported on 'i386' --- pkgs/os-specific/linux/kexec-tools/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/os-specific/linux/kexec-tools/default.nix b/pkgs/os-specific/linux/kexec-tools/default.nix index 530fd767bb909..3861d5d0cd6f8 100644 --- a/pkgs/os-specific/linux/kexec-tools/default.nix +++ b/pkgs/os-specific/linux/kexec-tools/default.nix @@ -18,6 +18,11 @@ stdenv.mkDerivation rec { url = "https://raw.githubusercontent.com/void-linux/void-packages/6c1192cbf166698932030c2e3de71db1885a572d/srcpkgs/kexec-tools/patches/ppc64-elfv2.patch"; sha256 = "19wzfwb0azm932v0vhywv4221818qmlmvdfwpvvpfyw4hjsc2s1l"; }) + # binutils-2.42 support + (fetchpatch { + url = "https://github.com/horms/kexec-tools/commit/328de8e00e298f00d7ba6b25dc3950147e9642e6.patch"; + hash = "sha256-wVQI4oV+hBLq3kGIp2+F5J3f6s/TypDu3Xq583KYc3U="; + }) ]; hardeningDisable = [ "format" "pic" "relro" "pie" ];