-
Notifications
You must be signed in to change notification settings - Fork 200
doctest
s need --write-ghc-environment-files=always
#1197
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
Comments
Just noting for myself,
|
@andreasabel , I can't make this work reliably. Can you give me the command to make the DocTests succeed? Thanks |
Do you mean for |
Oh, I misunderstood. Yes, I meant for Are you able to run the |
Well, yes, CI runs them every time.
Works. |
For me, locally, with GHC 9.6, either of these causes the error:
However, with GHC 9.8, either succeeds. The Nix Flake has GHC 9.6. Thanks @andreasabel , that resolves it for now |
See:
--write-ghc-environment-files=always
isovector/type-errors#9Can we default to
write-ghc-environment-files: always
or would that break other packages?In the latter case, could we allow users to activate
write-ghc-environment-files: always
in the test settings?See also:
doctest
fail #991The text was updated successfully, but these errors were encountered: