1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 06:31:02 +00:00

linux-headers: Update to 3.7

This commit is contained in:
Eelco Dolstra 2012-12-29 01:12:31 +01:00
parent 291527a6d9
commit 0a0c7a352d
2 changed files with 11 additions and 8 deletions

View file

@ -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;

View file

@ -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;