about summary refs log tree commit diff
path: root/pkgs/development/libraries/glibc
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2012-09-26 12:04:05 -0400
committerEelco Dolstra <eelco.dolstra@logicblox.com>2012-09-26 12:04:05 -0400
commitb5a605c26908be611d189e7ea7dc6ec5c0f3aa09 (patch)
treeb6fdb2dba04b5801e46a604146505e080a986852 /pkgs/development/libraries/glibc
parentb3d20690a105cf1efbe8bddff3b5ba060fbe21e5 (diff)
downloadnixlib-b5a605c26908be611d189e7ea7dc6ec5c0f3aa09.tar
nixlib-b5a605c26908be611d189e7ea7dc6ec5c0f3aa09.tar.gz
nixlib-b5a605c26908be611d189e7ea7dc6ec5c0f3aa09.tar.bz2
nixlib-b5a605c26908be611d189e7ea7dc6ec5c0f3aa09.tar.lz
nixlib-b5a605c26908be611d189e7ea7dc6ec5c0f3aa09.tar.xz
nixlib-b5a605c26908be611d189e7ea7dc6ec5c0f3aa09.tar.zst
nixlib-b5a605c26908be611d189e7ea7dc6ec5c0f3aa09.zip
Fix the Glibc kernel at 2.6.35 rather than whatever the kernel header happen to be
Diffstat (limited to 'pkgs/development/libraries/glibc')
-rw-r--r--pkgs/development/libraries/glibc/2.13/common.nix2
-rw-r--r--pkgs/development/libraries/glibc/2.16/common.nix2
2 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/libraries/glibc/2.13/common.nix b/pkgs/development/libraries/glibc/2.13/common.nix
index 6e409158f0b8..2333e42246b0 100644
--- a/pkgs/development/libraries/glibc/2.13/common.nix
+++ b/pkgs/development/libraries/glibc/2.13/common.nix
@@ -111,7 +111,7 @@ stdenv.mkDerivation ({
      then "--enable-profile"
      else "--disable-profile")
   ] ++ stdenv.lib.optionals (cross == null && kernelHeaders != null) [
-    "--enable-kernel=${kernelHeaders.versionForGlibc}"
+    "--enable-kernel=2.6.35"
   ] ++ stdenv.lib.optionals (cross != null) [
     (if cross.withTLS then "--with-tls" else "--without-tls")
     (if cross.float == "soft" then "--without-fp" else "--with-fp")
diff --git a/pkgs/development/libraries/glibc/2.16/common.nix b/pkgs/development/libraries/glibc/2.16/common.nix
index 5624be5b5495..84bbefee840e 100644
--- a/pkgs/development/libraries/glibc/2.16/common.nix
+++ b/pkgs/development/libraries/glibc/2.16/common.nix
@@ -105,7 +105,7 @@ stdenv.mkDerivation ({
        then "--enable-profile"
        else "--disable-profile")
     ] ++ stdenv.lib.optionals (cross == null && kernelHeaders != null) [
-      "--enable-kernel=${kernelHeaders.versionForGlibc}"
+      "--enable-kernel=2.6.35"
     ] ++ stdenv.lib.optionals (cross != null) [
       (if cross.withTLS then "--with-tls" else "--without-tls")
       (if cross.float == "soft" then "--without-fp" else "--with-fp")