forked from mirrors/nixpkgs
glibc: Grab the right linux headers when build != host
In #28519 /791ce593ce
I made linux headers be intended to be used from the stage stage, as it would be if it were a library containing headers and code. I forgot to update glibc, however, so it was incorrectly using headers for the build platform, not host platform. This fixes that, basically reverting a small portion of changes I made a few months ago in25edc476fd
and its parent. No native hashes are changed.
This commit is contained in:
parent
19e3c580ad
commit
8bfb247224
|
@ -1,10 +1,12 @@
|
|||
/* Build configuration used to build glibc, Info files, and locale
|
||||
information. */
|
||||
|
||||
{ stdenv, lib, fetchurl
|
||||
, gd ? null, libpng ? null
|
||||
{ stdenv, lib
|
||||
, buildPlatform, hostPlatform
|
||||
, buildPackages
|
||||
, fetchurl
|
||||
, linuxHeaders ? null
|
||||
, gd ? null, libpng ? null
|
||||
}:
|
||||
|
||||
{ name
|
||||
|
@ -17,7 +19,6 @@
|
|||
} @ args:
|
||||
|
||||
let
|
||||
inherit (buildPackages) linuxHeaders;
|
||||
version = "2.25";
|
||||
patchSuffix = "-49";
|
||||
sha256 = "067bd9bb3390e79aa45911537d13c3721f1d9d3769931a30c2681bfee66f23a0";
|
||||
|
|
Loading…
Reference in a new issue