about summary refs log tree commit diff
path: root/pkgs/development/libraries/glibc
diff options
context:
space:
mode:
authorDaiderd Jordan <daiderd@gmail.com>2018-01-26 23:40:40 +0100
committerJohn Ericson <John.Ericson@Obsidian.Systems>2018-10-25 21:45:04 -0400
commit7081b5e1aee0d3e0257c16734c07a9b7dace2af9 (patch)
tree2c3c8fe216d8a1fd2d61600fb87aa98791215218 /pkgs/development/libraries/glibc
parentddebab3575e8bd95b23b744156c7f6ab23b563f1 (diff)
linux-headers: Clean up with mass rebuild
Diffstat (limited to 'pkgs/development/libraries/glibc')
-rw-r--r--pkgs/development/libraries/glibc/common.nix4
1 files changed, 1 insertions, 3 deletions
diff --git a/pkgs/development/libraries/glibc/common.nix b/pkgs/development/libraries/glibc/common.nix
index b77c450bdec1f..042f5ca90bae9 100644
--- a/pkgs/development/libraries/glibc/common.nix
+++ b/pkgs/development/libraries/glibc/common.nix
@@ -133,9 +133,7 @@ stdenv.mkDerivation ({
 
   depsBuildBuild = [ buildPackages.stdenv.cc ];
   nativeBuildInputs = [ bison ];
-  # TODO make linuxHeaders unconditional next mass rebuild
-  buildInputs = lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) linuxHeaders
-    ++ lib.optionals withGd [ gd libpng ];
+  buildInputs = [ linuxHeaders ] ++ lib.optionals withGd [ gd libpng ];
 
   # Needed to install share/zoneinfo/zone.tab.  Set to impure /bin/sh to
   # prevent a retained dependency on the bootstrap tools in the stdenv-linux