From 94bf66c27e4c17202c42d2321a20c4408626d048 Mon Sep 17 00:00:00 2001
From: John MacFarlane <jgm@berkeley.edu>
Date: Sat, 23 Oct 2021 17:35:17 -0700
Subject: [PATCH] CircleCI: use homebrew not curl to install stack.

---
 .circleci/config.yml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/.circleci/config.yml b/.circleci/config.yml
index b58f259e6..a6019a6d9 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -14,7 +14,9 @@ jobs:
           - stack-dependencies-{{ checksum "stack.yaml" }}
     - run:
         name: Install stack
-        command: stack --version || (curl -sSL https://get.haskellstack.org/ | sh -s - -f)
+        command: |
+          brew install ghc
+          brew install haskell-stack
     - run:
         name: Resolve/Update Dependencies
         command: stack --no-terminal setup