Open benjaminweb opened 1 week ago
/usr/local/opt/icu4c/lib
is searched because it is specified at
https://github.com/haskell/text-icu/blob/32a90ab4c66980621d56b1a1dc70bd6016e28141/text-icu.cabal#L132
It doesn't exist on Apple silicon machines.
This could be solved by switching
/usr/local/opt/icu4c/lib
for non-Apple silicon/opt/homebrew/opt/icu4c/lib
for Apple siliconTo my knowledge there is no way to determine whether we are on Apple silicon within a cabal file. Is that true?
cabal build raises
ld: warning: search path '/usr/local/opt/icu4c/lib' not found
environment: GHC 9.10.1 cabal 3.12.1.0 managed through ghcup
icu4c managed through homebrew: