[Nix-dev] Cannot build stdenv-linux-boot on MacOS

Vladimír Čunát vcunat at gmail.com
Wed Jan 28 22:28:55 CET 2015


Hi.

On 01/28/2015 08:00 AM, Andreas Bernauer wrote:
> error: a ‘x86_64-linux’ is required to build
> ‘/nix/store/6giy9b7xg90p8pqm6f056jqdwdx36jj6-stdenv-linux-boot.drv’, but
> I am a ‘x86_64-darwin’

(Note: I know very little about NixOps, so I may not be accurate.)
You are attempting to build *linux* packages on a darwin machine. You 
can deploy that way, but you need to add a x86_64-linux machine that 
will build the stuff (even a virtual one). See 
http://nixos.org/nix/manual/#chap-distributed-builds

I don't know if there's a shortcut that also builds on the machines that 
you deploy to.


Vladimir


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3251 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20150128/5cd14dbd/attachment.bin 


More information about the nix-dev mailing list