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

Undecipherable error message from cabal haddock #108

Open
nrnrnr opened this issue Jan 27, 2022 · 3 comments
Open

Undecipherable error message from cabal haddock #108

nrnrnr opened this issue Jan 27, 2022 · 3 comments
Labels

Comments

@nrnrnr
Copy link

nrnrnr commented Jan 27, 2022

I tried to build Haddock documentation for a project I am working on, but I could not make progress:

nr@homedog ~/a/sandbox> cabal haddock
cabal: renderBuildTargetProblem: unexpected status (TargetDisabledByUser,Nothing)
CallStack (from HasCallStack):
  error, called at src/Distribution/Client/CmdErrorMessages.hs:356:14 in main:Distribution.Client.CmdErrorMessages

I don't know how to interpret the error message. Haskell experts where I work were also unable to interpret the error message.

I attach a couple of relevant files.
sandbox.cabal.txt
cabal.project.local.txt

@tomjaguarpaw
Copy link
Owner

Have you tried minimising the broken example? That might help narrow down the cause.

@nrnrnr
Copy link
Author

nrnrnr commented Jan 28, 2022

Where would I start? Start removing .hs files from my cabal file one at a time?

@tomjaguarpaw
Copy link
Owner

Yes, and removing other configuration options from the cabal file.

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

No branches or pull requests

2 participants