From 37007db77c5d7517e19a4c2bf290eaf4cb50ac96 Mon Sep 17 00:00:00 2001 From: Franz Pletz Date: Wed, 3 Jul 2024 13:45:34 +0200 Subject: [PATCH] linux: move hexdump to nativeBuildInputs Trying to build vmlinuz.efi natively on aarch64 fails to find hexdump. This was introduced in #277975. Moving hexdump to nativeBuildInputs fixes the build. --- pkgs/os-specific/linux/kernel/manual-config.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/os-specific/linux/kernel/manual-config.nix b/pkgs/os-specific/linux/kernel/manual-config.nix index 5f20d14137c4..9c30f1fd70d0 100644 --- a/pkgs/os-specific/linux/kernel/manual-config.nix +++ b/pkgs/os-specific/linux/kernel/manual-config.nix @@ -121,7 +121,6 @@ let pahole perl elfutils - hexdump # module makefiles often run uname commands to find out the kernel version (buildPackages.deterministic-uname.override { inherit modDirVersion; }) ] @@ -158,6 +157,7 @@ let zstd python3Minimal kmod + hexdump ] ++ optional needsUbootTools ubootTools ++ optionals (lib.versionAtLeast version "5.2") [ cpio pahole zlib ] ++ optionals withRust [ rustc rust-bindgen ];