[Nix-dev] Cannot build stdenv-linux-boot on MacOS
henrytill at gmail.com
Thu Jan 29 17:21:25 CET 2015
It is definitely possible to use NixOps on OS X without a Linux build
machine. I've done it recently by installing NixOps directly from Hydra
using "nix-install-package", and then using NixOps with a clone of
nixpkgs/master in my NIX_PATH (rather than a clone of joelteon/master).
Here are some instructions I wrote for doing so:
The only thing I would add to these instructions is that you will get more
binaries from cache.nixos.org if you check out your clone of nixpkgs at the
same revision as nixos-unstable (currently db75b5d, found at
https://nixos.org/channels/nixos-unstable/), and, as a result, "nixops
deploy" will be a much quicker process.
On Wed, Jan 28, 2015 at 4:28 PM, Vladimír Čunát <vcunat at gmail.com> wrote:
> 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
> I don't know if there's a shortcut that also builds on the machines that
you deploy to.
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nix-dev