[Nix-dev] NixOps: distributed builds, arm7vl

Drew Hess ml-nix-dev at drewhess.com
Fri Mar 17 21:00:13 CET 2017


Hi Théophane, thank you for the reply.

> On Mar 17, 2017, at 9:13 AM, Théophane Hufschmitt <rg_nixos at regnat.ovh> wrote:
> 
> 2. Yes, it works without problem. In fact NixOps isn't concerned about
> the architecture of your machine, it just forwards the config to nix
> which builds it. But you have to specify the architecture in the
> configuration of your machine for nix to know about it. In my case it
> was just setting `nixpkgs.system = "armv7l-linux"` in my bananaPi's
> configuration.

I missed this step after looking around in the NixOS and NixOps documentation for something like that to no avail, and broke my armv7l box! (NixOps pushed some x86-64 binaries to it, whoops.) Thanks for the pointer.


> 3. Yes again, by using nix's distributed builds feature (see the
> `nix.buildMachines` and `nix.distributedBuilds` nixos options and
> https://nixos.org/nix/manual/#chap-distributed-builds if you don't know
> how to set it up), you got what you want (and if you don't explicitly
> specify you boards as build machines, nothing will be built on them).

That is great to hear. Thanks again for the reply! I’ll try all of this out this weekend and post an update on my progress next week.

d



More information about the nix-dev mailing list