From f7b61138a106ce3afd3489f9ceb9d1ec838517db Mon Sep 17 00:00:00 2001 From: Gabriella Gonzalez Date: Thu, 28 Dec 2023 11:31:18 -0600 Subject: [PATCH] Fix `-Wunicode-homoglyph` build failure Fixes https://github.com/dhall-lang/dhall-haskell/issues/646 This fixes a build failure that tends to happen when building Dhall using Nix on macOS. The failure is related to the `-Wunicode-homoglyph` `cpp` warning, which this change disables. --- dhall/dhall.cabal | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dhall/dhall.cabal b/dhall/dhall.cabal index a3be524b8..496b8a83e 100644 --- a/dhall/dhall.cabal +++ b/dhall/dhall.cabal @@ -269,7 +269,7 @@ Common common CPP-Options: -DNETWORK_TESTS - GHC-Options: -Wall -Wcompat -Wincomplete-uni-patterns + GHC-Options: -Wall -Wcompat -Wincomplete-uni-patterns -optP-Wno-unicode-homoglyph Library Import: common