Skip to content

Instantly share code, notes, and snippets.

@archaeron
Last active July 24, 2018 13:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save archaeron/02ca304fe72ac1eebf1285152b22bd15 to your computer and use it in GitHub Desktop.
Save archaeron/02ca304fe72ac1eebf1285152b22bd15 to your computer and use it in GitHub Desktop.
Building stack2nix - 9aef6210dd8385a449847711797840f69a40c88a
> nix run nixpkgs.vagrant nixpkgs.virtualbox 0 < 15:28:02
> ./scripts/vagrant.sh
+++ dirname ./scripts/vagrant.sh
++ cd ./scripts
++ pwd
+ DIR=/home/nico/Documents/stack2nix/scripts
+ cd /home/nico/Documents/stack2nix/scripts/..
+ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Checking if box 'ubuntu/trusty64' is up to date...
==> default: Clearing any previously set forwarded ports...
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
==> default: Forwarding ports...
default: 22 (guest) => 2222 (host) (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.
Command: ["startvm", "2ba41143-0579-452b-b215-00b032b07e88", "--type", "headless"]
Stderr: VBoxManage: error: The virtual machine 'stack2nix_default_1532431861618_91421' has terminated unexpectedly during startup with exit code 1 (0x1)
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component MachineWrap, interface IMachine
In file included from c/helper.c:4:0: error:
c/helper.h:4:10: error:
fatal error: yaml.h: No such file or directory
#include <yaml.h>
^~~~~~~~
|
4 | #include <yaml.h>
| ^
compilation terminated.
`cc' failed in phase `C Compiler'. (Exit code: 1)
builder for '/nix/store/5mkx89jx7y5bpz4l7l4vassld3m3xn2b-yaml-0.8.32.drv' failed with exit code 1
cannot build derivation '/nix/store/qlgkipxxzh1asvfyi4j7fw3m5ag1k93x-cabal2nix-2.10.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/93flmxzr2493lz7vndia9byfagfa6l91-stack-1.7.1.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/4vabrc7ifwyqlmlr3k15z5xdn9bl76dw-stack2nix-0.1.3.1.drv': 1 dependencies couldn't be built
error: build of '/nix/store/4vabrc7ifwyqlmlr3k15z5xdn9bl76dw-stack2nix-0.1.3.1.drv' failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment