Skip to content

Commit

Permalink
Filter out -dinitial-unique and -dunique-increment from hash flags
Browse files Browse the repository at this point in the history
These options shouldn't affect the output of the package and hence
shouldn't affect the store hash of a package.
  • Loading branch information
mpickering committed Aug 2, 2024
1 parent b3b9052 commit 0b75dac
Showing 1 changed file with 2 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 @@ -324,6 +324,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

0 comments on commit 0b75dac

Please sign in to comment.