diff --git a/pkgs/os-specific/linux/kernel-headers-cross/builder.sh b/pkgs/os-specific/linux/kernel-headers-cross/builder.sh index 94254d83f17d..277246a27d0c 100644 --- a/pkgs/os-specific/linux/kernel-headers-cross/builder.sh +++ b/pkgs/os-specific/linux/kernel-headers-cross/builder.sh @@ -19,6 +19,10 @@ installPhase() { arch=mips elif test $cross = "sparc-linux"; then arch=sparc + elif test $cross = "powerpc-linux"; then + arch=ppc + elif test $cross = "ppc-linux"; then + arch=ppc fi make include/asm ARCH=$arch cp -prvd include/linux include/asm include/asm-$arch include/asm-generic $out/include diff --git a/pkgs/os-specific/linux/kernel-headers-cross/default.nix b/pkgs/os-specific/linux/kernel-headers-cross/default.nix index d9157a9b0322..efe6ba383f4b 100644 --- a/pkgs/os-specific/linux/kernel-headers-cross/default.nix +++ b/pkgs/os-specific/linux/kernel-headers-cross/default.nix @@ -3,11 +3,11 @@ assert stdenv.system == "i686-linux"; stdenv.mkDerivation { - name = "linux-headers-2.6.13.4"; + name = "linux-headers-2.6.14.5"; builder = ./builder.sh; src = fetchurl { - url = http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.13.4.tar.bz2; - md5 = "94768d7eef90a9d8174639b2a7d3f58d"; + url = ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.14.5.tar.bz2; + md5 = "9f057e3bd31c50dc48553def01bc8037"; }; inherit cross; }