From 09a5f59d619fdfad169612eb2e0fc67ddf1c4705 Mon Sep 17 00:00:00 2001 From: Emanuel Borsboom Date: Mon, 16 Jan 2017 17:02:47 -0800 Subject: [PATCH] Add etc/vagrant/arch-x86_64/Vagrantfile --- etc/vagrant/arch-x86_64/Vagrantfile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 etc/vagrant/arch-x86_64/Vagrantfile diff --git a/etc/vagrant/arch-x86_64/Vagrantfile b/etc/vagrant/arch-x86_64/Vagrantfile new file mode 100644 index 0000000000..49d0535201 --- /dev/null +++ b/etc/vagrant/arch-x86_64/Vagrantfile @@ -0,0 +1,13 @@ +Vagrant.configure(2) do |config| + config.vm.box = "wholebits/arch-64" + #@@@ config.vm.synced_folder ENV['STACK_BUILD_DIR'], "/vagrant-build", type: "rsync", rsync__verbose: true, rsync__exclude: [".stack-work/", "_release/", ".cabal-sandbox/", "cabal.sandbox.config", "dist/"], rsync__args: ["--verbose", "--archive", "--delete", "-z"] + #@@@ config.vm.synced_folder "../../..", "/vagrant", type: "rsync", rsync__verbose: true, rsync__exclude: [".stack-work/", "_release/", ".cabal-sandbox/", "cabal.sandbox.config", "dist/"], rsync__args: ["--verbose", "--archive", "--delete", "-z"] + config.vm.provider "virtualbox" do |vb| + vb.memory = "3072" + end + config.ssh.forward_agent = true + config.vm.provision "shell", inline: <<-SHELL + set -xe + pacman --noconfirm -Syu ghc happy alex git automake autoconf libtool gcc make perl python python-sphinx docbook-utils patch file bzip2 xz cabal-install + SHELL +end