From 152a0c97fab1a1e7bdea2a523c55b267aaab2315 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?=
 <viric@vicerveza.homeunix.net>
Date: Mon, 1 Mar 2010 14:06:48 +0000
Subject: [PATCH] Adding kernelArch to platforms.pc. Needed to make the
 release.nix tarball happy.

svn path=/nixpkgs/trunk/; revision=20308
---
 pkgs/top-level/platforms.nix | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/pkgs/top-level/platforms.nix b/pkgs/top-level/platforms.nix
index 19d1431ea888..3c680cac9e40 100644
--- a/pkgs/top-level/platforms.nix
+++ b/pkgs/top-level/platforms.nix
@@ -7,6 +7,9 @@ rec {
     # Build whatever possible as a module, if not stated in the extra config.
     kernelAutoModules = true;
     kernelTarget = "bzImage";
+    # Currently ignored - it should be set according to 'system' once it is
+    # not ignored. This is for stdenv-updates.
+    kernelArch = "i386";
     kernelExtraConfig =
       ''
         # Virtualisation (KVM, Xen...).