linuxHeaders: use elf-header from build packages

Splicing does not work correctly here, so elf-header was being
pulled from the host packages. It must be pulled from the build
packages since it is used by the HOSTCC for build-time tools.

Note that using buildPackages here causes infinite recursion.

Fixes darwin -> linux-mips cross-compilation of linuxHeaders.

+1 -1
+1 -1
pkgs/top-level/all-packages.nix
··· 24853 lkl = callPackage ../applications/virtualization/lkl { }; 24854 lklWithFirewall = callPackage ../applications/virtualization/lkl { firewallSupport = true; }; 24855 24856 - inherit (callPackages ../os-specific/linux/kernel-headers { }) 24857 linuxHeaders makeLinuxHeaders; 24858 24859 klibc = callPackage ../os-specific/linux/klibc { };
··· 24853 lkl = callPackage ../applications/virtualization/lkl { }; 24854 lklWithFirewall = callPackage ../applications/virtualization/lkl { firewallSupport = true; }; 24855 24856 + inherit (callPackages ../os-specific/linux/kernel-headers { inherit (pkgsBuildBuild) elf-header; }) 24857 linuxHeaders makeLinuxHeaders; 24858 24859 klibc = callPackage ../os-specific/linux/klibc { };