-
Notifications
You must be signed in to change notification settings - Fork 696
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
change the default of cabal v2-configure #6016
Comments
Why not put this stuff in |
Because cabal.project **is** checked to VCS, and I try to avoid cabal.project changes as I could accidentally commit them.
… On 26 Apr 2019, at 20.16, Mikhail Glushenkov ***@***.***> wrote:
package Cabal
ghc-options: -Werror
Why not put this stuff in cabal.project?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
OK. May be easier to introduce a new local config file ( |
btw, in order to address this very issue we already implemented a failsafe when this came up some time ago already: when you and therefore
is not fully accurate. |
Not much activity here: I take it people have been satisfied with the current behavior of configure, where it backs up an existing cabal.project.local, if any. Maybe this could be closed? |
There's also the |
I am not, see #8408. |
It says:
but I often have non-trivial configuration there, e.g.
and if I accidentally
cabal v2-configure
, that setup is gone. Ascabal.project.local
files aren't checked into VCS, overwriting them is destructive, and irreversible operation.I suggest
v2-configure
to abort ifcabal.project.local
exists. And possibly have a--force
flag.The text was updated successfully, but these errors were encountered: