Add meta.platforms to the Linux kernel expression.
svn path=/nixpkgs/trunk/; revision=27722
This commit is contained in:
parent
12f976e56e
commit
69dca5f4aa
@ -69,7 +69,7 @@ stdenv.mkDerivation {
|
|||||||
# Combine the `features' attribute sets of all the kernel patches.
|
# 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;
|
features = lib.fold (x: y: (if x ? features then x.features else {}) // y) features kernelPatches;
|
||||||
};
|
};
|
||||||
|
|
||||||
builder = ./builder.sh;
|
builder = ./builder.sh;
|
||||||
|
|
||||||
generateConfig = ./generate-config.pl;
|
generateConfig = ./generate-config.pl;
|
||||||
@ -91,7 +91,7 @@ stdenv.mkDerivation {
|
|||||||
kernelBaseConfig = stdenv.platform.kernelBaseConfig;
|
kernelBaseConfig = stdenv.platform.kernelBaseConfig;
|
||||||
kernelTarget = stdenv.platform.kernelTarget;
|
kernelTarget = stdenv.platform.kernelTarget;
|
||||||
autoModules = stdenv.platform.kernelAutoModules;
|
autoModules = stdenv.platform.kernelAutoModules;
|
||||||
|
|
||||||
# Should we trust platform.kernelArch? We can only do
|
# Should we trust platform.kernelArch? We can only do
|
||||||
# that once we differentiate i686/x86_64 in platforms.
|
# that once we differentiate i686/x86_64 in platforms.
|
||||||
arch =
|
arch =
|
||||||
@ -137,5 +137,6 @@ stdenv.mkDerivation {
|
|||||||
license = "GPLv2";
|
license = "GPLv2";
|
||||||
homepage = http://www.kernel.org/;
|
homepage = http://www.kernel.org/;
|
||||||
maintainers = [ lib.maintainers.eelco ];
|
maintainers = [ lib.maintainers.eelco ];
|
||||||
|
platforms = lib.platforms.linux;
|
||||||
} // extraMeta;
|
} // extraMeta;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user