Author: stordeur
Date: Mon Jul 11 14:07:21 2011
New Revision: 27722
URL: https://svn.nixos.org/websvn/nix/?rev=27722&sc=1
Log:
Add meta.platforms to the Linux kernel expression.
Modified:
nixpkgs/trunk/pkgs/os-specific/linux/kernel/generic.nix
Modified: nixpkgs/trunk/pkgs/os-specific/linux/kernel/generic.nix
==============================================================================
--- nixpkgs/trunk/pkgs/os-specific/linux/kernel/generic.nix Mon Jul 11
14:00:26 2011 (r27721)
+++ nixpkgs/trunk/pkgs/os-specific/linux/kernel/generic.nix Mon Jul 11
14:07:21 2011 (r27722)
@@ -69,7 +69,7 @@
# 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 @@
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 @@
license = "GPLv2";
homepage = http://www.kernel.org/;
maintainers = [ lib.maintainers.eelco ];
+ platforms = lib.platforms.linux;
} // extraMeta;
}
_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits