-
Notifications
You must be signed in to change notification settings - Fork 685
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 v2-install UX is not pleasant #6119
Comments
I'm not seeing the HasCallStack error in cabal -- perhaps you're not on the latest version? As for the second question -- v2 install works on libs too, building them into the store and updating the global env file to include them. However, testing the We could also certainly improve the documentation in cabal-config to make clear where overwrite-policy goes... (testing |
Oops, I was using some version of
(but that's not relevant to this ticket) |
This is a dupe of #5978. |
I think the other half of the issue, which is the overwrite-policy, is fixed by #5942 |
Apologies if this is a duplicate ticket, but I hunted around a bit and did not find anything.
The
cabal v2-install
experience is not very pleasant right now. Here is me trying to installhlint-2.2
from hackage:Ok so far.
??? Baffling. I could try saying more to the tool but I feel I've said it all.
So I have to specify that I want to install the executable, not the library? I thought
install
was only for building executables.Ok... not a bad default I suppose, but I was unable to figure out the
.cabal/config
syntax for this option.overwrite-policy = always
doesn't work.Works, but takes a couple seconds. Kind of annoying after just running without the last
--overwrite-policy=always
, it feels like this should not have to do any more work.The text was updated successfully, but these errors were encountered: