Re: [Nix-dev] Updated system-tarballs for non-pc

2013-04-07 Thread Lluís Batlle i Rossell
On Sat, Apr 06, 2013 at 11:22:26PM +0200, Bjørn Forsman wrote:
 On 3 April 2013 18:25, Lluís Batlle i Rossell vi...@viric.name wrote:
  On Wed, Apr 03, 2013 at 06:23:53PM +0200, Moritz Ulrich wrote:
  I like the torrent approach too, but I'd like to see a wiki page
  documenting the steps how to build a tarball (the current 'Cross
  Compiling' page is a bit rough on that matter).
 
  These are not cross-built. There is no way to cross-build a 
  'system-tarball'.
 
 So system-tarballs can only be built for the system running NixOS
 (build==host==target)?

Yes

 Is there a way we could build it using either cross-compilation or
 QEMU system emulation?

This can be done, yes. You just need the proper kernel, that can be cross-built.

 I'd really like to have an automated way to bootstrap NixOS for
 various architectures. Like a replacement for Buildroot, OpenEmbedded
 etc.

in nixpkgs/pkgs/stdenv/linux there is a nix expression that I used to bootstrap
a pure stdenv.

NixOS is not thought at all to be cross-built, by now.

I used 'nanonixos' as a system that can be cross-built, but it's totally
independant of nixos.
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] Updated system-tarballs for non-pc

2013-04-06 Thread Bjørn Forsman
On 3 April 2013 18:25, Lluís Batlle i Rossell vi...@viric.name wrote:
 On Wed, Apr 03, 2013 at 06:23:53PM +0200, Moritz Ulrich wrote:
 I like the torrent approach too, but I'd like to see a wiki page
 documenting the steps how to build a tarball (the current 'Cross
 Compiling' page is a bit rough on that matter).

 These are not cross-built. There is no way to cross-build a 'system-tarball'.

So system-tarballs can only be built for the system running NixOS
(build==host==target)?

Is there a way we could build it using either cross-compilation or
QEMU system emulation?

I'd really like to have an automated way to bootstrap NixOS for
various architectures. Like a replacement for Buildroot, OpenEmbedded
etc.

Best regards,
Bjørn Forsman
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] Updated system-tarballs for non-pc

2013-04-03 Thread Sergey Mironov
Awesome, Thanks!

Regards,
Sergey

2013/4/3 Lluís Batlle i Rossell vi...@viric.name

 Hello,

 I recently published two system-tarballs and one sd image for the stdenv at
 master, for some non-PC that can run nixos too. I also updated the wiki
 pages
 that refer to those platforms.

 I don't have hosting means, so there I go publishing bittorrent DHT magnet
 links. If anyone can and wants to host them, even better.

 Sheevaplug:

 magnet:?xt=urn:btih:30e46b10fec185927ae2525b2f5bc0363c53beaadn=nixos-system-armv5tel-linux-8881d1a920aa-70dc369314.tar.xzxl=154984440

 Fuloong Mini-PC:

 magnet:?xt=urn:btih:d8b6179c79f5defa3102dd6cb11ded1f876050b9dn=nixos-system-mips64el-linux-86c1e10-86e5e52.tar.xzxl=149898860

 Raspberry Pi 2GB SD image:

 magnet:?xt=urn:btih:3a1273137a31ef65453ddc44eafcf8e0ede24731dn=nixos-raspberrypi-ef28e8e70e96-0236cc5d8826-sd2g.img.xzxl=255137480

 Current wiki page about multiplatform NixOS:
 https://nixos.org/wiki/Multiplatform_NixOS

 I don't update these images very often; mainly when there has been a stdenv
 change in master, just to have an easier bootstrap.

 Regards,
 Lluís.
 ___
 nix-dev mailing list
 nix-dev@lists.science.uu.nl
 http://lists.science.uu.nl/mailman/listinfo/nix-dev

___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] Updated system-tarballs for non-pc

2013-04-03 Thread Pascal Wittmann
On 04/02/2013 11:26 PM, Lluís Batlle i Rossell wrote:
 I don't have hosting means, so there I go publishing bittorrent DHT magnet
 links. If anyone can and wants to host them, even better.

On my server I've 1MB/s upload avaiable for torrents and just started to
seed them. Hope that helps.

Best Regards,
Pascal



signature.asc
Description: OpenPGP digital signature
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] Updated system-tarballs for non-pc

2013-04-03 Thread phreedom
On Вторник 02 апреля 2013 23:26:46 Lluís Batlle i Rossell wrote:
 I recently published two system-tarballs and one sd image for the stdenv at
 master, for some non-PC that can run nixos too. I also updated the wiki
 pages that refer to those platforms.
 
 I don't have hosting means, so there I go publishing bittorrent DHT magnet
 links. If anyone can and wants to host them, even better.

I'm a bit lazy and busy right now to make unnecessary moves, but if you 
outgrow your current capacity, I can lend you a reasonably fat pipe. Just ping 
me.

___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] Updated system-tarballs for non-pc

2013-04-03 Thread Lluís Batlle i Rossell
On Wed, Apr 03, 2013 at 06:10:40PM +0300, phree...@yandex.ru wrote:
 On Вторник 02 апреля 2013 23:26:46 Lluís Batlle i Rossell wrote:
  I recently published two system-tarballs and one sd image for the stdenv at
  master, for some non-PC that can run nixos too. I also updated the wiki
  pages that refer to those platforms.
  
  I don't have hosting means, so there I go publishing bittorrent DHT magnet
  links. If anyone can and wants to host them, even better.
 
 I'm a bit lazy and busy right now to make unnecessary moves, but if you 
 outgrow your current capacity, I can lend you a reasonably fat pipe. Just 
 ping 
 me.

If noone complains, I'm fine with my current torrent approach. If I'm alone
seeding, it just requires patience on the other side.

But as a publisher, I find this approach quite easy right now.

Thank you!
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] Updated system-tarballs for non-pc

2013-04-03 Thread Moritz Ulrich
I like the torrent approach too, but I'd like to see a wiki page
documenting the steps how to build a tarball (the current 'Cross
Compiling' page is a bit rough on that matter).

I'll seed the packages too.

On Wed, Apr 3, 2013 at 5:14 PM, Lluís Batlle i Rossell vi...@viric.name wrote:
 On Wed, Apr 03, 2013 at 06:10:40PM +0300, phree...@yandex.ru wrote:
 On Вторник 02 апреля 2013 23:26:46 Lluís Batlle i Rossell wrote:
  I recently published two system-tarballs and one sd image for the stdenv at
  master, for some non-PC that can run nixos too. I also updated the wiki
  pages that refer to those platforms.
 
  I don't have hosting means, so there I go publishing bittorrent DHT magnet
  links. If anyone can and wants to host them, even better.

 I'm a bit lazy and busy right now to make unnecessary moves, but if you
 outgrow your current capacity, I can lend you a reasonably fat pipe. Just 
 ping
 me.

 If noone complains, I'm fine with my current torrent approach. If I'm alone
 seeding, it just requires patience on the other side.

 But as a publisher, I find this approach quite easy right now.

 Thank you!
 ___
 nix-dev mailing list
 nix-dev@lists.science.uu.nl
 http://lists.science.uu.nl/mailman/listinfo/nix-dev
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] Updated system-tarballs for non-pc

2013-04-03 Thread Lluís Batlle i Rossell
On Wed, Apr 03, 2013 at 06:23:53PM +0200, Moritz Ulrich wrote:
 I like the torrent approach too, but I'd like to see a wiki page
 documenting the steps how to build a tarball (the current 'Cross
 Compiling' page is a bit rough on that matter).

These are not cross-built. There is no way to cross-build a 'system-tarball'.

The system-tarball expressions are in nixos/release.nix.

Regards,
Lluís.

 On Wed, Apr 3, 2013 at 5:14 PM, Lluís Batlle i Rossell vi...@viric.name 
 wrote:
  On Wed, Apr 03, 2013 at 06:10:40PM +0300, phree...@yandex.ru wrote:
  On Вторник 02 апреля 2013 23:26:46 Lluís Batlle i Rossell wrote:
   I recently published two system-tarballs and one sd image for the stdenv 
   at
   master, for some non-PC that can run nixos too. I also updated the wiki
   pages that refer to those platforms.
  
   I don't have hosting means, so there I go publishing bittorrent DHT 
   magnet
   links. If anyone can and wants to host them, even better.
 
  I'm a bit lazy and busy right now to make unnecessary moves, but if you
  outgrow your current capacity, I can lend you a reasonably fat pipe. Just 
  ping
  me.
 
  If noone complains, I'm fine with my current torrent approach. If I'm alone
  seeding, it just requires patience on the other side.
 
  But as a publisher, I find this approach quite easy right now.
 
  Thank you!
  ___
  nix-dev mailing list
  nix-dev@lists.science.uu.nl
  http://lists.science.uu.nl/mailman/listinfo/nix-dev
 ___
 nix-dev mailing list
 nix-dev@lists.science.uu.nl
 http://lists.science.uu.nl/mailman/listinfo/nix-dev
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev