From 0a0c7a352d5c41497be23d3b82995e18435153c6 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Sat, 29 Dec 2012 01:12:31 +0100 Subject: [PATCH] linux-headers: Update to 3.7 --- .../linux/kernel-headers/{3.5.nix => 3.7.nix} | 15 +++++++++------ pkgs/top-level/all-packages.nix | 4 ++-- 2 files changed, 11 insertions(+), 8 deletions(-) rename pkgs/os-specific/linux/kernel-headers/{3.5.nix => 3.7.nix} (86%) diff --git a/pkgs/os-specific/linux/kernel-headers/3.5.nix b/pkgs/os-specific/linux/kernel-headers/3.7.nix similarity index 86% rename from pkgs/os-specific/linux/kernel-headers/3.5.nix rename to pkgs/os-specific/linux/kernel-headers/3.7.nix index f230e29832be..4371bf7df9c5 100644 --- a/pkgs/os-specific/linux/kernel-headers/3.5.nix +++ b/pkgs/os-specific/linux/kernel-headers/3.7.nix @@ -3,11 +3,14 @@ assert cross == null -> stdenv.isLinux; let - version = "3.5.4"; - kernelHeadersBaseConfig = if cross == null then - stdenv.platform.kernelHeadersBaseConfig - else - cross.platform.kernelHeadersBaseConfig; + + version = "3.7.1"; + + kernelHeadersBaseConfig = + if cross == null + then stdenv.platform.kernelHeadersBaseConfig + else cross.platform.kernelHeadersBaseConfig; + in stdenv.mkDerivation { @@ -15,7 +18,7 @@ stdenv.mkDerivation { src = fetchurl { url = "mirror://kernel/linux/kernel/v3.x/linux-${version}.tar.bz2"; - sha256 = "1x2qab82w0wpd82nms68zybygvlphv9yp6nzm93rgs7ck2qjhvlr"; + sha256 = "1bb1dxj1i6j7pj926kfy6pz58kw03swyyikl9f3fq3jnswispaj2"; }; targetConfig = if cross != null then cross.config else null; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 9216f446e0af..a28399b2c272 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -5682,11 +5682,11 @@ let libnl = callPackage ../os-specific/linux/libnl { }; - linuxHeaders = linuxHeaders35; + linuxHeaders = linuxHeaders37; linuxConsoleTools = callPackage ../os-specific/linux/consoletools { }; - linuxHeaders35 = callPackage ../os-specific/linux/kernel-headers/3.5.nix { }; + linuxHeaders37 = callPackage ../os-specific/linux/kernel-headers/3.7.nix { }; linuxHeaders26Cross = forceNativeDrv (import ../os-specific/linux/kernel-headers/2.6.32.nix { inherit stdenv fetchurl perl;