[Nix-dev] Compiling the Linux kernel for the Sheevaplug
Rickard Nilsson
rickard.nilsson at telia.com
Sun Nov 27 17:43:35 CET 2011
Hi,
Den 2011-11-27 11:04:45 skrev Lluís Batlle i Rossell <viric at viric.name>:
> 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;
That did the trick! The kernel is now building, at least. I suspect it
will take some time :)
> 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.
/ Rickard
More information about the nix-dev
mailing list