[Haskell-beginners] How to install new GHC ?
fa-ml at ariis.it
Tue Dec 12 13:51:18 UTC 2017
On Tue, Dec 12, 2017 at 03:38:30PM +0200, Baa wrote:
> 1. GHC 8.2.2 is here:
> 2. done
> 3. yes, it's 8.2.2
> 4. `cabal new-build` said to me call `cabal update`, I done it, then run
> it again and got:
> $ cabal new-build
> Resolving dependencies...
> cabal: Could not resolve dependencies:
> trying: XXX-0.5.0.0 (user goal)
> next goal: YYY-utils (dependency of XXX-0.5.0.0)
> Dependency tree exhaustively searched.
Good, we're almost there!
I strongly suspect it is a base constraint. Go in your something.cabal
file, build-depends section(s) and modify it from:
base >= 4.somenumber && < 4.10
base >= 4.somenumber && < 4.11
And try cabal new-build again. If that fails, please include the content
of your `build-depends:` portion in your message
More information about the Beginners