From a8257341159957386c9aec4bd9b6f95bea0fc0c4 Mon Sep 17 00:00:00 2001
From: Zubin Duggal <zubin.duggal@gmail.com>
Date: Thu, 29 Sep 2022 17:34:38 +0530
Subject: [PATCH] Fix macos build

---
 .gitlab/ci.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.gitlab/ci.sh b/.gitlab/ci.sh
index 751b09c7..75eaa3c2 100755
--- a/.gitlab/ci.sh
+++ b/.gitlab/ci.sh
@@ -36,6 +36,7 @@ case "$(uname -s)" in
 		case "$(/usr/bin/arch)" in
 			aarch64|arm64|armv8l)
 				curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | arch -arm64 /bin/bash
+				export C_INCLUDE_PATH="`xcrun --show-sdk-path`/usr/include/ffi"
 				;;
 			*)
 				curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh
-- 
GitLab