I cannot run the 'trivial.nix' example from
http://hydra.nixos.org/build/18990240/download/1/manual/manual.html#idm140737319352096
"Deploying a VirtualBox VM" on MacOS Yosemite 10.10.
The VM starts (I see a login screen), but the build process quits with
---8<---
building path(s)
‘/nix/sto
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
Hello Andreas,
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).
I should also add that you could just as easily check out the revision of
the stable channel if you prefer (currently 676e8d7, found at
https://nixos.org/channels/nixos-14.12/).
-Henry
On Thu, Jan 29, 2015 at 11:21 AM, Henry Till wrote:
>
> Hello Andreas,
>
> It is definitely possible to use Ni
Note that in order to build packages on the virtual Linux box, you need to
be able to ssh to it as root.
Nixops doesn't set that up for nix-build, which is why it fails to build.
(this may be a security thing, not sure)
So once you deployed and it fails to build, do a "nixops ssh" to the Linux
vm
Recently, I haven't had any problems with building and SSH keys when doing
"nixops deploy" to a VM on OS X after using the setup process outlined in
my first email to this thread.
-Henry
On Sun, Feb 1, 2015 at 2:23 AM, Wout Mertens wrote:
>
> Note that in order to build packages on the virtual L
Thank you all for your input. I'll report what worked for me.
-Andreas
On 01/02/15 14:52, Henry Till wrote:
> Recently, I haven't had any problems with building and SSH keys when
> doing "nixops deploy" to a VM on OS X after using the setup process
> outlined in my first email to this thread.
>