From 963220b16c745188bfef6969f69813c6d8a125c2 Mon Sep 17 00:00:00 2001 From: carlocab <30379873+carlocab@users.noreply.github.com> Date: Wed, 23 Dec 2020 07:08:32 +0000 Subject: [PATCH] bond: use Homebrew ghc --- Formula/bond.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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