diff --git a/pkgs/os-specific/linux/kernel/linux-2.6.20.nix b/pkgs/os-specific/linux/kernel/linux-2.6.20.nix index ab9acf26d96c..9452846b985e 100644 --- a/pkgs/os-specific/linux/kernel/linux-2.6.20.nix +++ b/pkgs/os-specific/linux/kernel/linux-2.6.20.nix @@ -24,7 +24,7 @@ let lib = import ../../../lib; - version = "2.6.20.11"; + version = "2.6.20.12"; in @@ -34,11 +34,11 @@ stdenv.mkDerivation { src = fetchurl { url = "http://ftp.nl.kernel.org/pub/linux/kernel/v2.6/linux-${version}.tar.bz2"; - sha256 = "1n0xgqckj64ga3l53l8lk1591lfcn6zcrqg3phz2m0y841ck5qlk"; + sha256 = "1s7vdpg2897q5pcyxxypqcnibwpbdawbimkf3pngmahj8wr9c03x"; }; - patches = [./2.6.20-paravirt-nvidia.patch] ++ (map (p: p.patch) kernelPatches); - extraConfig = lib.concatStrings (map (p: "\n" + p.extraConfig + "\n") kernelPatches); + patches = map (p: p.patch) kernelPatches; + extraConfig = lib.concatStrings (map (p: "\n" + (if p ? extraConfig then p.extraConfig else "") + "\n") kernelPatches); config = if kernelConfig != null then kernelConfig else diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 9ca96dbdd7f3..07d0fcc00663 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2279,6 +2279,9 @@ rec { kernel_2_6_20 = import ../os-specific/linux/kernel/linux-2.6.20.nix { inherit fetchurl stdenv perl mktemp module_init_tools; kernelPatches = [ + { name = "paravirt-nvidia"; + patch = ../os-specific/linux/kernel/2.6.20-paravirt-nvidia.patch; + } { name = "skas-2.6.20-v9-pre9"; patch = fetchurl { url = http://www.user-mode-linux.org/~blaisorblade/patches/skas3-2.6/skas-2.6.20-v9-pre9/skas-2.6.20-v9-pre9.patch.bz2;