diff --git a/Formula/bond.rb b/Formula/bond.rb index 3b4a49dc3be77..d49f994717101 100644 --- a/Formula/bond.rb +++ b/Formula/bond.rb @@ -13,13 +13,17 @@ class Bond < Formula end depends_on "cmake" => :build + depends_on "ghc@8.6" => :build depends_on "haskell-stack" => :build depends_on "boost" depends_on "rapidjson" def install mkdir "build" do - system "cmake", "..", *std_cmake_args, "-DBOND_ENABLE_GRPC=FALSE", "-DBOND_FIND_RAPIDJSON=TRUE" + system "cmake", "..", *std_cmake_args, + "-DBOND_ENABLE_GRPC=FALSE", + "-DBOND_FIND_RAPIDJSON=TRUE", + "-DBOND_STACK_OPTIONS=--system-ghc;--no-install-ghc" system "make" system "make", "install" end