summary refs log tree commit diff
path: root/pkgs/os-specific/linux/kernel/generic.nix
diff options
context:
space:
mode:
authorLudovic Stordeur <Ludovic.Stordeur@inria.fr>2011-07-11 14:07:21 +0000
committerLudovic Stordeur <Ludovic.Stordeur@inria.fr>2011-07-11 14:07:21 +0000
commit69dca5f4aa35fd2b32b49372f0400fbc570c9e16 (patch)
tree4e349f7d8e2970e9d4fbb7e14126476a40aacc64 /pkgs/os-specific/linux/kernel/generic.nix
parent12f976e56e5448fa659e284776c263238c1c1628 (diff)
downloadnixpkgs-69dca5f4aa35fd2b32b49372f0400fbc570c9e16.tar
nixpkgs-69dca5f4aa35fd2b32b49372f0400fbc570c9e16.tar.gz
nixpkgs-69dca5f4aa35fd2b32b49372f0400fbc570c9e16.tar.bz2
nixpkgs-69dca5f4aa35fd2b32b49372f0400fbc570c9e16.tar.lz
nixpkgs-69dca5f4aa35fd2b32b49372f0400fbc570c9e16.tar.xz
nixpkgs-69dca5f4aa35fd2b32b49372f0400fbc570c9e16.tar.zst
nixpkgs-69dca5f4aa35fd2b32b49372f0400fbc570c9e16.zip
Add meta.platforms to the Linux kernel expression.
svn path=/nixpkgs/trunk/; revision=27722
Diffstat (limited to 'pkgs/os-specific/linux/kernel/generic.nix')
-rw-r--r--pkgs/os-specific/linux/kernel/generic.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/os-specific/linux/kernel/generic.nix b/pkgs/os-specific/linux/kernel/generic.nix
index 138c9a53d04..3fa316b1224 100644
--- a/pkgs/os-specific/linux/kernel/generic.nix
+++ b/pkgs/os-specific/linux/kernel/generic.nix
@@ -69,7 +69,7 @@ stdenv.mkDerivation {
     # Combine the `features' attribute sets of all the kernel patches.
     features = lib.fold (x: y: (if x ? features then x.features else {}) // y) features kernelPatches;
   };
-  
+
   builder = ./builder.sh;
 
   generateConfig = ./generate-config.pl;
@@ -91,7 +91,7 @@ stdenv.mkDerivation {
   kernelBaseConfig = stdenv.platform.kernelBaseConfig;
   kernelTarget = stdenv.platform.kernelTarget;
   autoModules = stdenv.platform.kernelAutoModules;
-  
+
   # Should we trust platform.kernelArch? We can only do
   # that once we differentiate i686/x86_64 in platforms.
   arch =
@@ -137,5 +137,6 @@ stdenv.mkDerivation {
     license = "GPLv2";
     homepage = http://www.kernel.org/;
     maintainers = [ lib.maintainers.eelco ];
+    platforms = lib.platforms.linux;
   } // extraMeta;
 }