[Nix-dev] build server

2014-09-30 Thread Tim Barbour
I would like to set up a nix build server, particularly for use with nixops.
Is there a definitive document about how to do this, including cross-platform
builds (e.g. ARM) ?

Can it be done declaratively, or does one need to set environment variables ?

So far I have found the following documents, each with a different way:

https://nixos.org/wiki/Raspberry_Pi
 - distcc approach

https://nixos.org/wiki/Distributed_build
--- ignore this, look at nix.buildMachines in NixOS Manual

http://nixos.org/nix/manual/#chap-distributed-builds

http://sandervanderburg.blogspot.com.au/2013/04/setting-up-hydra-build-cluster-for_10.html

I would really like to know the current recommended way.

Tim
---
GPG public key available at: 
 http://phasechangeit.com/~trb/gpg-key  or 
 http://subkeys.pgp.net:11371
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


[Nix-dev] build server

2014-09-30 Thread Tim Barbour
Tim Barbour writes:
  I would like to set up a nix build server, particularly for use with nixops.
  Is there a definitive document about how to do this, including cross-platform
  builds (e.g. ARM) ?

Well, I got it working (no cross-build yet) using nix.buildMachines as 
described here:

  
http://sandervanderburg.blogspot.com.au/2013/04/setting-up-hydra-build-cluster-for_10.html

together with archive signing as described here:

  
http://functional-orbitz.blogspot.com.au/2013/05/setting-up-nixops-on-mac-os-x-with.html

I have yet to setup cross-platform builds. I know that I need to configure the 
cross-build
capability on the build server, and tell the client that the server has it (the 
easy part). So
far I have found these instructions:

  https://nixos.org/wiki/CrossCompiling

Tim
---
GPG public key available at: 
 http://phasechangeit.com/~trb/gpg-key  or 
 http://subkeys.pgp.net:11371
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev