-
Notifications
You must be signed in to change notification settings - Fork 701
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
Suppress ghc-pkg warnings emitted when an empty packages is being registered #9997
base: master
Are you sure you want to change the base?
Suppress ghc-pkg warnings emitted when an empty packages is being registered #9997
Conversation
567916c
to
6ca030f
Compare
Thanks for that. Please let us know if you need help with CI failures and please set "review" label when ready to discuss the implementation (or even the design, though an issue ticket might be better for that). |
BTW, the current CI failure seems caused by the flaky macos jobs in github, so let me take the liberty of restarting the job. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@depressed-pho this PR looks good, you just have to solve the conflicts. :)
…istered When a package contains a library that has no modules, "./Setup register" tries to register the library with fields "haddock-interfaces:" and "haddock-html:" pointing at non-existent files or directories, and "ghc-pkg register" warns about them. To suppress the warnings prevent these fields from being generated when there are no modules.
bd6c7de
to
eff7bf8
Compare
Did it. The tests have passed. |
@depressed-pho perfect, your PR will be merged by the bot in due time. :) |
When a package contains a library that has no modules,
./Setup register
tries to register the library with fieldshaddock-interfaces:
andhaddock-html:
pointing at non-existent files or directories, andghc-pkg register
warns about them like this:To suppress the warnings prevent these fields from being generated when there are no modules.
Template Α: This PR modifies behaviour or interface
Include the following checklist in your PR: