haskell / haskell/cabal

Is it possible to new-configure `--ghc-options=-Wall` for a particular local package?

Open
#4,577 6 comments 1 reaction 0 assignees View on GitHub
cabal-install: cmd/configure type: enhancement
Dominant language
Haskell
Stars
1.7k
Forks
750
Avg merge
4d 3h
Merged PRs (30d)
28

Description

I just did the above and cabal decided to recompile the deps (which is a bit surprising on its own, but probably correct since deps might start breaking if they had -Werror as well..).

I gather that I can do

~~~~
package mypackage
ghc-options: -Wall
~~~~

manually in `cabal.project.local` but that'll get overwritten by the next new-configure.

#4271 seems somewhat related.

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.