Skip to content

Commit fed3852

Browse files
committed
texmath: workaround to build with GHC 9.12
1 parent 487bc06 commit fed3852

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Formula/t/texmath.rb

+4-1
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,11 @@ class Texmath < Formula
1919
depends_on "ghc" => :build
2020

2121
def install
22+
# Workaround to build with GHC 9.12, remove after https://github.com/haskell/aeson/pull/1126
23+
args = ["--allow-newer=aeson:ghc-prim,aeson:template-haskell"]
24+
2225
system "cabal", "v2-update"
23-
system "cabal", "v2-install", *std_cabal_v2_args, "-fexecutable"
26+
system "cabal", "v2-install", *args, *std_cabal_v2_args, "-fexecutable"
2427
end
2528

2629
test do

0 commit comments

Comments
 (0)