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
panic! ModOrigin: hidden module redefined #1225
Comments
Does the |
These packages have worked fine for me so far, but they suddenly started failing during a big |
|
Closing as assumed to be fixed by upstream ghc patch landed in |
This bug is actually separate. I'm not 100% sure of the cause, but it happened even with that patch in |
I'm working on a more manageable solution for several issues, such as this one, which would benefit from having a more slimmed-down/isolated ghc package index during build. Creating a temporary package index which only includes the packages needed for the build, but not the package being built, should allow us to sidestep this issue. |
I get this when i hit
No lsp or optics here. |
@l29ah have you run |
Sure i did, i can't recompile a bunch of stuff, for instance
|
Manually removing |
This probably is just a dupe of #1250 at this point. I thought it was separate since we applied the patch. |
Reported by
|
I'm getting this error on a couple packages:
dev-haskell/lsp-types
dev-haskell/optics-extra
:This error even crops up if you try it as a normal user using
cabal
(only using
v1
commands;v2
doesn't seem to have the issue):Strangely, the workaround seems to be:
USE="-doc"
After this, everything works normally.
The text was updated successfully, but these errors were encountered: