-
Notifications
You must be signed in to change notification settings - Fork 711
Custom ghc-options lost when calling cabal build in sandbox #2236
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
Comments
I think i can explain this behaviour: There is
The effect of 2) was displayed above; the effect of 1) can be seen if you first I will not present an opinion if this behaviour is sensible. Regardless, the documentation needs improvement. Is the behaviour without a sandbox different? I refuse to test that :D |
Yup, behaves as I would have expected without a sandbox, meaning the subsequent |
the Cabal version error seems sensible to me; the configuration data format may change between versions and may be incompatible. And one does not change cabal-install that often, normally.. |
Ok, interesting; that seems to be inconsistent indeed. |
Actions:
acme-missiles
and removed a type signature).cabal sandbox init
.cabal install --ghc-options="-Wall -Werror"
cabal build
Expected: fails again
Actual: Get the surprising output:
Note that during testing, I switched between a cabal-install compiled with Cabal-1.20.0.0 and Cabal-1.20.0.2, and got the error message:
The text was updated successfully, but these errors were encountered: