From 3e33e35b4d6a2d8a0be596327bec07062d6163ef Mon Sep 17 00:00:00 2001 From: Michael Raskin <7c6f434c@mail.ru> Date: Wed, 13 Jan 2010 22:09:12 +0000 Subject: [PATCH] Fix arguments reference svn path=/nixpkgs/trunk/; revision=19416 --- pkgs/os-specific/linux/zen-kernel/2.6.32-zen4.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/os-specific/linux/zen-kernel/2.6.32-zen4.nix b/pkgs/os-specific/linux/zen-kernel/2.6.32-zen4.nix index 8de0cf733e4a..1f08ad75fc39 100644 --- a/pkgs/os-specific/linux/zen-kernel/2.6.32-zen4.nix +++ b/pkgs/os-specific/linux/zen-kernel/2.6.32-zen4.nix @@ -34,14 +34,14 @@ import ../kernel/generic.nix ( zen = true; fbConDecor = true; aufs = true; - } // args.features; + } // (stdenv.lib.attrByPath ["features"] {} args); config = with conf; '' ${generalOptions} ${noDebug} ${virtualisation} - ${if stdenv.lib.attrByPath ["oldI686"] false args.features then noPAE else ""} + ${if stdenv.lib.attrByPath ["features" "oldI686"] false args then noPAE else ""} ${usefulSubsystems} ${cfq} ${noNUMA} @@ -56,7 +56,7 @@ import ../kernel/generic.nix ( ${blockDevices} ${bluetooth} ${misc} - ${if stdenv.lib.attrByPath ["ckSched"] false args.features then bfsched else ""} + ${if stdenv.lib.attrByPath ["features" "ckSched"] false args then bfsched else ""} ''; preConfigure = ''