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

Filter out -dinitial-unique and -dunique-increment from hash flags (backport #10240) #10302

Merged
merged 1 commit into from
Sep 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Cabal/src/Distribution/Simple/Program/GHC.hs
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,8 @@ normaliseGhcArgs (Just ghcVersion) PackageDescription{..} ghcArgs
, "-ddpr-cols"
, "-dtrace-level"
, "-fghci-hist-size"
, "-dinitial-unique"
, "-dunique-increment"
]
, from [8, 2] ["-fmax-uncovered-patterns", "-fmax-errors"]
, from [8, 4] $ to [8, 6] ["-fmax-valid-substitutions"]
Expand Down
13 changes: 13 additions & 0 deletions changelog.d/pr-10240
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
synopsis: Filter out dinitial-unique and dunique-increment from package hash
packages: cabal-install
prs: #10122

description: {

`-dinitial-unique` and `-dunique-increment` are now filtered out when computing the
store hash of a package.

These options shouldn't affect the output of the package and hence
shouldn't affect the store hash of a package.

}
Loading