On Mon, Nov 21, 2011 at 06:24:15PM +0100, Bjørn Forsman wrote: > 2011/11/21 Lluís Batlle i Rossell <vi...@viric.name>: > > On Mon, Nov 21, 2011 at 11:50:25AM +0100, Rickard Nilsson wrote: > >> Hi, > >> > >> How should I do to cross-build my configuration.nix for the SheevaPlug? Is > >> it possible? I have read about cross-building in the wiki, but it talks > >> about cross-building individual packages. How can I cross-build a complete > >> system? > > > > We do not have that ready now. The nixos expressions are all meant for > > native > > building. > > I dream of combining Aboriginal Linux[1] and nixos. Aboriginal > provides a minimal native build environment (gcc, make...) for a bunch > of architectures. All that's needed then is to have a (native) distro > build system that can bootstrap itself. (Nixos is the only distro I > know of that seem to care about this kind of bootstrapping.) >
In theory (Michael claims it does not work for him), we can cross-build make, gcc, nix, into a bootable system. Then we can build bootstrap tools there. This is how I built the bootstrap-tools for armv5tel and mips n32, and then used nixos there, iirc. Regards, Lluís. _______________________________________________ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev