Fix arguments reference

svn path=/nixpkgs/trunk/; revision=19416
This commit is contained in:
Michael Raskin 2010-01-13 22:09:12 +00:00
parent 54322bbd02
commit 3e33e35b4d

View File

@ -34,14 +34,14 @@ import ../kernel/generic.nix (
zen = true; zen = true;
fbConDecor = true; fbConDecor = true;
aufs = true; aufs = true;
} // args.features; } // (stdenv.lib.attrByPath ["features"] {} args);
config = with conf; config = with conf;
'' ''
${generalOptions} ${generalOptions}
${noDebug} ${noDebug}
${virtualisation} ${virtualisation}
${if stdenv.lib.attrByPath ["oldI686"] false args.features then noPAE else ""} ${if stdenv.lib.attrByPath ["features" "oldI686"] false args then noPAE else ""}
${usefulSubsystems} ${usefulSubsystems}
${cfq} ${cfq}
${noNUMA} ${noNUMA}
@ -56,7 +56,7 @@ import ../kernel/generic.nix (
${blockDevices} ${blockDevices}
${bluetooth} ${bluetooth}
${misc} ${misc}
${if stdenv.lib.attrByPath ["ckSched"] false args.features then bfsched else ""} ${if stdenv.lib.attrByPath ["features" "ckSched"] false args then bfsched else ""}
''; '';
preConfigure = '' preConfigure = ''