File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
tests/UnitTests/Distribution/Client Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -183,6 +183,8 @@ configure
183
183
}
184
184
(_allConstraints, pkgInfo) <-
185
185
Cabal. computePackageInfo cfg lbc1 gpkgDescr compil
186
+ -- NB: no need to re-apply "allConstraints", as we already have a
187
+ -- finalized package description in hand.
186
188
187
189
-- Post-configure hooks & per-component configure
188
190
lbi1 <- Cabal. configureFinal
Original file line number Diff line number Diff line change @@ -138,7 +138,8 @@ configureTests =
138
138
assertEqual
139
139
" local"
140
140
(Just ghcFlags)
141
- (Map. lookup " ghc" (getMapMappend (packageConfigProgramArgs projectConfigLocalPackages)))
141
+ (filter (/= " -hide-all-packages" ) <$> -- hide-all-packages gets added by default; ignore it for this test
142
+ Map. lookup " ghc" (getMapMappend (packageConfigProgramArgs projectConfigLocalPackages)))
142
143
]
143
144
144
145
projectDir :: FilePath
You can’t perform that action at this time.
0 commit comments