-
Notifications
You must be signed in to change notification settings - Fork 723
Open
0 / 20 of 2 issues completed
Copy link
Description
Describe the bug
If I run cabal repl either inside or outside a project, I get
hilfy «cabal+validate-actions$» Z$ cabal-3.16.0.0 repl
Resolving dependencies...
hilfy «cabal+validate-actions$» Z$ _
If I run it outside a project with a -b option (in a temporary directory with no cabal.project in a parent):
hilfy Z$ cabal-3.16.0.0 repl -b vector
Resolving dependencies...
panic: targets should be non-empty
CallStack (from HasCallStack):
error, called at src/Distribution/Client/CmdRepl.hs:366:38 in cabal-install-3.16.0.0-inplace:Distribution.Client.CmdRepl
To Reproduce
Reproducers shown above (the first one, if it wasn't obvious, is within the cabal project itself).
Expected behavior
A ghci should open, with appropriate things in scope.
System information
- Linux Ubuntu 24.10
cabal3.16.0.0,ghc9.10.2
wolverian and ulysses4ever