haxe: update for opam

Closes #43361.

Signed-off-by: FX Coudert <fxcoudert@gmail.com>
This commit is contained in:
Kaspars Jaudzems 2019-08-22 11:40:28 +03:00 committed by FX Coudert
parent 907700c74f
commit 905ec9cbf9

View file

@ -37,7 +37,7 @@ class Haxe < Formula
Dir.mktmpdir("opamroot") do |opamroot|
ENV["OPAMROOT"] = opamroot
ENV["OPAMYES"] = "1"
system "opam", "init", "--no-setup"
system "opam", "init", "--no-setup", "--disable-sandboxing"
system "opam", "config", "exec", "--",
"opam", "pin", "add", "haxe", buildpath, "--no-action"
system "opam", "config", "exec", "--",