You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add -XDuplicateRecordFields to a package that requires it in ghcOptions
Build the haddock derivation (via nix-shell), haddock build fails because it doesn't have the DuplicateRecordFields extension enabled.
Expected behavior
ghcOptions gets passed to haddock via --optghc
Additional context
I faced this issue when upgrading to 9.8.1, a few packages that were building fine before now require DuplicateRecordFields behaviour with a warning that the behaviour will be deprecated in the future. As a temporary fix, I passed the ghcOptions in the module settings for the package (amazonka). This builds fine, but haddock building fails. I set doHaddock = false for the package as part of the temporary fix
Build system (eg. x86_64-linux or aarch64-darwin): x86)64-linux
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Describe the bug
package..ghcOptions are not sent to haddock
Steps To Reproduce
-XDuplicateRecordFields
to a package that requires it inghcOptions
DuplicateRecordFields
extension enabled.Expected behavior
ghcOptions
gets passed to haddock via--optghc
Additional context
I faced this issue when upgrading to 9.8.1, a few packages that were building fine before now require
DuplicateRecordFields
behaviour with a warning that the behaviour will be deprecated in the future. As a temporary fix, I passed the ghcOptions in the module settings for the package (amazonka). This builds fine, but haddock building fails. I setdoHaddock = false
for the package as part of the temporary fixx86_64-linux
oraarch64-darwin
): x86)64-linuxThe text was updated successfully, but these errors were encountered: