Skip to content

Commit 23e65cf

Browse files
authored
Merge pull request #10240 from mpickering/wip/flags-hash-initial-unique
Filter out -dinitial-unique and -dunique-increment from hash flags
2 parents 30d2a38 + 4ce7bc4 commit 23e65cf

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

Cabal/src/Distribution/Simple/Program/GHC.hs

+2
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,8 @@ normaliseGhcArgs (Just ghcVersion) PackageDescription{..} ghcArgs
324324
, "-ddpr-cols"
325325
, "-dtrace-level"
326326
, "-fghci-hist-size"
327+
, "-dinitial-unique"
328+
, "-dunique-increment"
327329
]
328330
, from [8, 2] ["-fmax-uncovered-patterns", "-fmax-errors"]
329331
, from [8, 4] $ to [8, 6] ["-fmax-valid-substitutions"]

changelog.d/pr-10240

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
synopsis: Filter out dinitial-unique and dunique-increment from package hash
2+
packages: cabal-install
3+
prs: #10122
4+
5+
description: {
6+
7+
`-dinitial-unique` and `-dunique-increment` are now filtered out when computing the
8+
store hash of a package.
9+
10+
These options shouldn't affect the output of the package and hence
11+
shouldn't affect the store hash of a package.
12+
13+
}

0 commit comments

Comments
 (0)