1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

Adding a kernelArch to the 'pc' platform to keep uboot happy.

This should fix the nixpkgs tarball evaluation.

svn path=/nixpkgs/trunk/; revision=20127
This commit is contained in:
Lluís Batlle i Rossell 2010-02-19 14:25:15 +00:00
parent af717b48f4
commit 840a78977b

View file

@ -8,6 +8,8 @@ with pkgs;
# Build whatever possible as a module, if not stated in the extra config.
kernelAutoModules = true;
kernelTarget = "bzImage";
# This next line makes uboot happy, more than being ever used in the kernel build.
kernelArch = if (system == "i686-linux") then "x86" else "x86_64";
kernelExtraConfig =
''
# Virtualisation (KVM, Xen...).