-
Notifications
You must be signed in to change notification settings - Fork 73
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 repl --enable-multi-repl --with-ghc=doctest fails with "unrecognized option `-unit'" #412
Comments
Doctest uses both, the GHC compilation pipeline and GHCi.
If multiple home units are only supported by GHCi, but not by the GHC compilation pipeline, then I think it would be hard to support multiple home units. Taking a step back, do you think this is crucial? As I understand it, the motivation for multiple home units is to enable @mpickering do you have any input? |
It seems like it would be possible to make Multiple home units are supported by the GHC compilation pipeline. |
Thanks @mpickering 🙏 To summarize:
|
possibly related: snoyberg/xml#191 (Setup.hs of that package uses doctest) |
The upcoming cabal 3.11 release support loading multiple components (see haskell/cabal#8726). However this does not seems to work when running doctest through ghc replacement. Here is an example failure for a package using two libraries:
Could we make this work?
The text was updated successfully, but these errors were encountered: