about summary refs log tree commit diff
path: root/pkgs/os-specific/linux/kernel-headers
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2010-08-01 20:57:13 +0000
committerLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2010-08-01 20:57:13 +0000
commit937578d5ef19a8e7e1a4d39ec91003c44d321a6d (patch)
tree62eee1616ce81037bc70a5357bd126472ed10b09 /pkgs/os-specific/linux/kernel-headers
parentba58eb8e22fe8108900a7b7426994928a3ea3700 (diff)
downloadnixlib-937578d5ef19a8e7e1a4d39ec91003c44d321a6d.tar
nixlib-937578d5ef19a8e7e1a4d39ec91003c44d321a6d.tar.gz
nixlib-937578d5ef19a8e7e1a4d39ec91003c44d321a6d.tar.bz2
nixlib-937578d5ef19a8e7e1a4d39ec91003c44d321a6d.tar.lz
nixlib-937578d5ef19a8e7e1a4d39ec91003c44d321a6d.tar.xz
nixlib-937578d5ef19a8e7e1a4d39ec91003c44d321a6d.tar.zst
nixlib-937578d5ef19a8e7e1a4d39ec91003c44d321a6d.zip
Some first changes to get some evaluation working on the fuloong2f
svn path=/nixpkgs/branches/stdenv-updates/; revision=22840
Diffstat (limited to 'pkgs/os-specific/linux/kernel-headers')
-rw-r--r--pkgs/os-specific/linux/kernel-headers/2.6.28.nix1
-rw-r--r--pkgs/os-specific/linux/kernel-headers/2.6.32.nix1
2 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/kernel-headers/2.6.28.nix b/pkgs/os-specific/linux/kernel-headers/2.6.28.nix
index 82840f8a51fe..a85e6f79bf1b 100644
--- a/pkgs/os-specific/linux/kernel-headers/2.6.28.nix
+++ b/pkgs/os-specific/linux/kernel-headers/2.6.28.nix
@@ -20,6 +20,7 @@ stdenv.mkDerivation {
     if stdenv.system == "x86_64-linux" then "x86_64" else
     if stdenv.system == "powerpc-linux" then "powerpc" else
     if stdenv.system == "armv5tel-linux" then "arm" else
+    if stdenv.system == "mips64-linux" then "mips" else
     abort "don't know what the kernel include directory is called for this platform";
 
   buildInputs = [perl];
diff --git a/pkgs/os-specific/linux/kernel-headers/2.6.32.nix b/pkgs/os-specific/linux/kernel-headers/2.6.32.nix
index 893c26dc29cb..f08af39c701b 100644
--- a/pkgs/os-specific/linux/kernel-headers/2.6.32.nix
+++ b/pkgs/os-specific/linux/kernel-headers/2.6.32.nix
@@ -26,6 +26,7 @@ stdenv.mkDerivation {
     if stdenv.system == "x86_64-linux" then "x86_64" else
     if stdenv.system == "powerpc-linux" then "powerpc" else
     if stdenv.system == "armv5tel-linux" then "arm" else
+    if stdenv.platform ? kernelArch then stdenv.platform.kernelArch else
     abort "don't know what the kernel include directory is called for this platform";
 
   buildInputs = [perl];