haskell / haskell/cabal

cabal should lint ~/.cabal/config for compat with selected GHC

Open
#1,787 2 comments 0 reactions 0 assignees View on GitHub
old-milestone: ⊥ type: enhancement
Dominant language
Haskell
Stars
1.7k
Forks
750
Avg merge
4d 3h
Merged PRs (30d)
28

Description

With GHC 7.8, we need `shared: True` in the cabal config. However, historically `shared: False` has been explicitly set in people's cabal configs for various reasons.

This is actually a really really recurrent problem as people upgrade to GHC 7.8 and cabal 1.18, and I have to suggest `rm ~/.cabal/config ; cabal update` as my quick fix for folks.

It would be really nice (and best) if on systems that need dynamic too / shared / etc, if cabal install would holler "shared: False is possibly a problem" or the like.

Maybe there should be a "cabal doctor" or "cabal lint", I just want to not have this gotcha be in my support load.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.