-
Notifications
You must be signed in to change notification settings - Fork 722
Open
Labels
attention: pr-welcomecabal-install: cmd/replre: error-messageConcerning error messages delivered to the userConcerning error messages delivered to the user
Description
Describe the bug
When I call cabal repl package-name
for some dependency in the current project, cabal
accepts the argument, builds it, and then just exits.
To Reproduce
Steps to reproduce the behavior:
$ cd Cabal
$ cabal v2-repl filepath
Resolving dependencies...
Up to date
$ echo $?
0
Expected behavior
I'd expect either an error telling me what I'm trying to do doesn't make sense, or a repl prompt.
System information
- Operating system: macos
cabal
3.6.2.0 & recent HEAD,ghc
8.10.7
Additional context
What I was actually trying to do is bring an indirect dependency into scope. A repl within http-conduit which depends on http-client which pulls in network-uri, and I can't interact with the URIs I get out of some of the things I have in scope. Not sure cabal repl network-uri
should have helped with that, or what would be the best way to achieve that.
Metadata
Metadata
Assignees
Labels
attention: pr-welcomecabal-install: cmd/replre: error-messageConcerning error messages delivered to the userConcerning error messages delivered to the user