Skip to content

Avoid deduplication of GHC options that can break builds - #5368

Closed
roman-kashitsyn wants to merge 0 commit into
haskell:masterfrom
roman-kashitsyn:master
Closed

roman-kashitsyn wants to merge 0 commit into
haskell:masterfrom
roman-kashitsyn:master

Conversation

@roman-kashitsyn

Copy link
Copy Markdown
Collaborator

We still enable deduplication for some options, e.g. list of modules or list of paths to search for includes/libraries.

Fixes #4449.

I reproduced the problem as described in the issue:

Create a Cabal package, and put ghc-options: -trust base -trust containers in it. Attempt to build it and GHC will fail.

I checked that the scenario is not reproducible with the new version and added an integration test that catches that. The test fails with the old version and succeeds with the new version.

  • Patches conform to the coding conventions.
  • Any changes that could be relevant to users have been recorded in the changelog.
  • The documentation has been updated, if necessary.
  • If the change is docs-only, [ci skip] is used to avoid triggering the build bots.

@23Skidoo 23Skidoo closed this Jun 9, 2018
@23Skidoo

23Skidoo commented Jun 9, 2018 •

Copy link
Copy Markdown
Member

Sorry, somehow I managed to close this by force-pushing to your branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants