[Nix-dev] Switching the default kernel in configuration.nix

Tony White tonywhite100 at googlemail.com
Mon Apr 13 01:47:16 CEST 2009


2009/4/12 Marc Weber <marco-oweber at gmx.de>:
>> I'll look at how the existing kernel is being built and I suppose if I
>> run into trouble, I can just build 2.6.28.9 again without pae but it's
>> the adding to top-level all-packages.nix and the switching to the new
>
> Tell niksnut (Eelco Dolstra) about the pae issue. I've contacted him
> about 2.6.28 because of the same issue. I think He's removed that
> option.
> Either use tu customizable expression or the getConfig system to
> override that option (or just edit that line in nixpkgs repo)
>
> Grep it for CONFIG_X86_PAE=y
>
> Probably it's sufficient to turn it off for i686 systems.
>
> Sincerly
> Marc Weber
> _______________________________________________
> nix-dev mailing list
> nix-dev at cs.uu.nl
> https://mail.cs.uu.nl/mailman/listinfo/nix-dev
>

Yeah, grepping and modifying kernel configurations in that way is
always a bad idea IMHO.
For instance, It's incorrect to set CONFIG_X86_PAE=n like because in
this case the kernel has pae built in which cannot be disabled if
highmem= 64GB.
Highmen needs to equal off or 4GB to disable pae.

I just found this out, So it's worth mentioning.

I really, Really need to use menuconfig (ncurses) In NixOS to build
kernel configurations.
Is there a way to setup paths so that I can do so?
Do I just call make straight from it's location in the store because
it's not in a regular user's path?
Or install make and possibly ncurses into a user's environment? It's
already installed system wide.

Thanks,

Tony



More information about the nix-dev mailing list