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 8de0cf733e4..1f08ad75fc3 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 = ''