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

Andreas Bernauer andreas.bernauer at active-group.de
Wed Jan 28 08:00:55 CET 2015

I cannot run the 'trivial.nix' example from
"Deploying a VirtualBox VM" on MacOS Yosemite 10.10.

The VM starts (I see a login screen), but the build process quits with
building path(s)
error: a ‘x86_64-linux’ is required to build
‘/nix/store/6giy9b7xg90p8pqm6f056jqdwdx36jj6-stdenv-linux-boot.drv’, but
I am a ‘x86_64-darwin’
error: unable to build all machine configurations

I am new to nix, so maybe I have wrong expectations. Isn't the
'trivial.nix' example supposed to work on MacOS? I will appreciate any

Steps to reproduce:

I've installed nix following the instructions at
"Using the Testing Branch"

I then installed nixops following the instructions at
http://nixos.org/nixops/ "Getting it", which is just
nix-env -i nixops

I can provide the complete output.


More information about the nix-dev mailing list