Skip to content

Commit

Permalink
Merge pull request #10302 from haskell/mergify/bp/3.12/pr-10240
Browse files Browse the repository at this point in the history
Filter out -dinitial-unique and -dunique-increment from hash flags (backport #10240)
  • Loading branch information
mergify[bot] authored Sep 13, 2024
2 parents 48060ba + 226b040 commit 7b77a2d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
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.

}

0 comments on commit 7b77a2d

Please sign in to comment.