-
Notifications
You must be signed in to change notification settings - Fork 81
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
An option to list packages ignored by haskell_doc
#336
Conversation
`haskell_doc` will ignore the documentation of all the prebuilt package listed in `haddock_ignore_prebuilts`.
c44e777
to
df74df5
Compare
haskell_doc
when target dependency have no documentationhaskell_doc
This is very ad hoc information for a toolchain to track. Could you tell us more about,
|
For example, consider a developer, with no knowledge of nix, bazel or haddock, who just add a new dependency to one of his
|
I understand. I'm asking for specific instances. From the test in the PR, should I infer |
IMO, if nix packages things incorrectly that should be fixed upstream or via Nix overrides, on Nix side, because it's a nix-related and temporary in nature issue. This solution, while I understand it would allow you to make progress, is quite ad-doc. I think if we start to introduce such ad-hoc solutions for every little problem now and then, the API will become a monstrosity...
This is doable.
I don't think you can easily (if at all) do that from a normal rule, you can't really get output of shell commands or something like that there. |
I had issues with
I agree.
Will you consider this for merging? This being said, I won't champion this PR for long, I'm not stuck because of this issue (I solved my upstream problems), but I wanted to provide an easy solution for users which may encounter this issue in the future. I agree that it is an ad hoc solution for a rare problem, so we can close as won`t fix and instruct our users to fix their upstream problems. |
If you don't need this, then let's close for now. The That said, making |
@guibou could you file that as a ticket and close this PR? |
Fix #335 by providing
haddock_ignore_prebuilts
attribute tohaskell_toolchain
.