Skip to content
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

replace ghc dependency with ghc-lib #66

Closed

Conversation

peterbecich
Copy link

I think this may solve an issue: input-output-hk/haskell.nix#1829 (comment)

DocTests: <command line>: cannot satisfy -package ghc

https://hackage.haskell.org/package/ghc-lib

I will confirm shortly if it actually solves the issue. Thanks

@martijnbastiaan
Copy link
Owner

Thanks for the PR, I'll have CI run but I'll be upfront and say that I don't expect to merge this. ghc-lib is a very heavy dependency, and it seems to me that ghc not being accessible as a library is a Nix issue.

Could you run with --debug and post the logs here? I'm interested to see where doctest-parallel fails. Also, if you start a nix shell and do ghci -package ghc and try to import something from that package, does it work?

I'm eager to get Nix support; I've already invested some time in getting Nix to work, but it all seems kinda flaky (pun intended :-)).

@martijnbastiaan
Copy link
Owner

If this happened after upgrading to the latest doctest-parallel it might be worth trying to disable Nix support with --no-nix.

@martijnbastiaan
Copy link
Owner

I'm assuming this PR is obsolete given haskell/hackage-server#1154 (comment). Feel free to re-open.

@peterbecich
Copy link
Author

Yes, thanks, sorry I didn't follow up on this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants