-
Notifications
You must be signed in to change notification settings - Fork 12
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
"stack haddock" fails when using system GHC #85
Comments
I just tested, and I'm unable to reproduce the problem. Can you capture the full output of the following commands and put them in a paste:
|
Interesting, it only happens when I install MinGHC in a directory in C:\Program Files. If I let the installer use the default install location in AppData\Local\Programs, the issue doesn't occur. However, if I install in Program Files, the issue occurs even if I run the commands with admin privileges. Output from the commands you listed: https://gist.github.com/arotenberg/030e00254737a98496b5 |
That certainly narrows it down, sounds like a bug in stack's Haddock code not knowing how to handle quoted filepaths. We'll get that fixed for the next release (pinging @borsboom), but it looks like you at least have a decent workaround until then. |
OK, I've pushed a commit to stack that addresses this problem. If you build from master, stack should work with your install of MinGHC. |
See this StackOverflow question. In short, the following fails with an error about base not being in the build plan on a fresh 64-bit Windows 7/8 MinGHC 2015-08-13 installation:
Changing "stack haddock" to "stack haddock --install-ghc --no-system-ghc" makes it work.
The text was updated successfully, but these errors were encountered: