[Nix-dev] Compiling the Linux kernel for the Sheevaplug

Lluís Batlle i Rossell viric at viric.name
Sun Nov 27 11:04:45 CET 2011


On Sun, Nov 27, 2011 at 10:46:15AM +0100, Rickard Nilsson wrote:
> Hi,
> 
> I managed to get my Sheevaplug running NixOS with the help of Lluís'  
> nixos-system-tarball  
> (http://vicerveza.homeunix.net/~viric/tmp/nix/nixos-system-armv5tel-linux.tar.xz).  

Brave! I'm really impressed, how you could work out with such an unpolished
work. Congratulations! :)

> I've then tried to build my system with a recent kernel (3.1). But the  
> build stops after the kernel config step, with the output "unused option:  
> <xxx>". If I comment out the option in question in the linux_3_1 nix  
> expression, I can run the build again, and now it complains about some  
> other unused option. I can continue commenting out that option too, but I  
> don't want to carry on like that...

I think that you have not set the platform in your nixpkgs:

nixpkgs.config.platform = pkgs.platform.sheevaplug;

You also need that in the ~/.nixpkgs/config.nix for normal profiles to install
proper packages.

That will use all the sheevaplug details in building (like kernel
configurations, etc.)

Regards,
Lluís.


More information about the nix-dev mailing list