mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 06:47:09 +03:00
Update Linux headers to 3.5
This commit is contained in:
parent
ab53df106f
commit
b7b45c60df
@ -3,7 +3,7 @@
|
|||||||
assert cross == null -> stdenv.isLinux;
|
assert cross == null -> stdenv.isLinux;
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "3.3.5";
|
version = "3.5.4";
|
||||||
kernelHeadersBaseConfig = if cross == null then
|
kernelHeadersBaseConfig = if cross == null then
|
||||||
stdenv.platform.kernelHeadersBaseConfig
|
stdenv.platform.kernelHeadersBaseConfig
|
||||||
else
|
else
|
||||||
@ -15,10 +15,10 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://kernel/linux/kernel/v3.x/linux-${version}.tar.bz2";
|
url = "mirror://kernel/linux/kernel/v3.x/linux-${version}.tar.bz2";
|
||||||
sha256 = "0144qc3ginldm2i6sy8g55y4k1yw3dy3dnl1hiv7v7rlqnljx5d5";
|
sha256 = "1x2qab82w0wpd82nms68zybygvlphv9yp6nzm93rgs7ck2qjhvlr";
|
||||||
};
|
};
|
||||||
|
|
||||||
targetConfig = if (cross != null) then cross.config else null;
|
targetConfig = if cross != null then cross.config else null;
|
||||||
|
|
||||||
platform =
|
platform =
|
||||||
if cross != null then cross.platform.kernelArch else
|
if cross != null then cross.platform.kernelArch else
|
@ -5642,9 +5642,9 @@ let
|
|||||||
|
|
||||||
libnl = callPackage ../os-specific/linux/libnl { };
|
libnl = callPackage ../os-specific/linux/libnl { };
|
||||||
|
|
||||||
linuxHeaders = linuxHeaders33;
|
linuxHeaders = linuxHeaders35;
|
||||||
|
|
||||||
linuxHeaders33 = callPackage ../os-specific/linux/kernel-headers/3.3.5.nix { };
|
linuxHeaders35 = callPackage ../os-specific/linux/kernel-headers/3.5.nix { };
|
||||||
|
|
||||||
linuxHeaders26Cross = forceBuildDrv (import ../os-specific/linux/kernel-headers/2.6.32.nix {
|
linuxHeaders26Cross = forceBuildDrv (import ../os-specific/linux/kernel-headers/2.6.32.nix {
|
||||||
inherit stdenv fetchurl perl;
|
inherit stdenv fetchurl perl;
|
||||||
|
Loading…
Reference in New Issue
Block a user