git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #29625 from obsidiansystems/linuxHeadersCross

glibc: Grab the right linux headers when build != host

commitdf0c265ee1dd2bfef50b493be98047dc87dd977b authorJohn Ericson <Ericson2314@yahoo.com> dateWed 20 Sep 2017, 21:13 (9 years ago) parentd58a8828bfb247
1 file changed+4−3
pkgs/development/libraries/glibc/common.nix+4−3
pkgs/development/libraries/glibc/common.nix+4−3
@@ -1,10 +1,12 @@
11/* Build configuration used to build glibc, Info files, and locale
22 information. */
33
4−{ stdenv, lib, fetchurl
5−, gd ? null, libpng ? null
4+{ stdenv, lib
65, buildPlatform, hostPlatform
76, buildPackages
7+, fetchurl
8+, linuxHeaders ? null
9+, gd ? null, libpng ? null
810}:
911
1012{ name
@@ -17,7 +19,6 @@
1719} @ args:
1820
1921let
20− inherit (buildPackages) linuxHeaders;
2122 version = "2.25";
2223 patchSuffix = "-49";
2324 sha256 = "067bd9bb3390e79aa45911537d13c3721f1d9d3769931a30c2681bfee66f23a0";