-
Notifications
You must be signed in to change notification settings - Fork 704
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
cabal new-install --lib lens fails #5888
Comments
Ah, I have |
I tried with a clean environment, installing
pops into that environment? It doesn't make sense to me. If I try later to install something in that environment, it will fail as above. |
Isn't this basically #5559 ? |
This turns out to be a little different:
I'd expect |
Just ran into on IRC someone with this as well -- in that case they ran Further, I think that we should have, absent any fancy heuristics, at least just a good check and warning if there's env-file induced constraints causing a failure, so it can direct users to the source of the problem immediately. |
@gbaz do we have a repro for env files affecting v2-install of executables? So far I was only aware that (by design) an in-scope |
... to hopefully make cabal happy Cabal now defaults to keeping the installed version: cf: * https://travis-ci.org/github/rudymatela/speculate/jobs/767029407#L296 * haskell/cabal#6342 * haskell/cabal#5888 * The full behaviour of --lib seems to not even be decided yet: haskell/cabal#5559 *sigh*
So is not this a manifestation of #5559 at the end?, maybe we should bring them together |
The text was updated successfully, but these errors were encountered: