I can now report that I have a nice fresh NixOS running on my Sheevaplug. Thanks for all help!
$ uname -a Linux rn-srv01 3.1.2 #1 PREEMPT Mon Nov 28 04:16:02 UTC 2011 armv5tel GNU/Linux / Rickard Den 2011-11-27 17:43:35 skrev Rickard Nilsson <[email protected]>: > Hi, > > Den 2011-11-27 11:04:45 skrev Lluís Batlle i Rossell <[email protected]>: > >> 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 > _______________________________________________ > nix-dev mailing list > [email protected] > http://lists.science.uu.nl/mailman/listinfo/nix-dev _______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
