From d5aa5641de4d16688405c51640d3ebbd3b468fab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Mon, 28 Dec 2009 11:26:23 +0000 Subject: [PATCH] Fixing the evaluation of the linux kernel (= /= ==) svn path=/nixpkgs/branches/stdenv-updates/; revision=19138 --- pkgs/os-specific/linux/kernel/generic.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/kernel/generic.nix b/pkgs/os-specific/linux/kernel/generic.nix index 3fda2bc3f7c..be5fda41aac 100644 --- a/pkgs/os-specific/linux/kernel/generic.nix +++ b/pkgs/os-specific/linux/kernel/generic.nix @@ -73,8 +73,8 @@ stdenv.mkDerivation { map ({extraConfig ? "", ...}: extraConfig) kernelPatches; in lib.concatStringsSep "\n" ([config] ++ configFromPatches); - # For UML, just ignore all options that don't apply (I'm lazy). - ignoreConfigErrors = (userModeLinux || stdenv.system = "armv5tel-linux"); + # For UML and non-PC, just ignore all options that don't apply (We are lazy). + ignoreConfigErrors = (userModeLinux || stdenv.system == "armv5tel-linux"); buildInputs = [ perl mktemp ] ++ lib.optional (platform.uboot != null) [platform.uboot];