Skip to content

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

Open
@lspitzner

Description

@lspitzner

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions