I just learning about Haskell and trying to create Haskell project with Cabal, but when I tried install Gloss, it always return an error
-- error ... ghc: could not execute: opt cabal: Failed to build OpenGLRaw-220.127.116.11 (which is required by exe:bouncingball from bouncingball-0.1.0.0). See the build log above for details.
-- project.cabal build-depends: base ^>=18.104.22.168, gloss
anyone can help how could I fix this issue?