Skip to content

Commit

Permalink
Merge pull request #8012 from haskell/andrea/fix-overlapping-patterns
Browse files Browse the repository at this point in the history
Remove overlapping patterns
  • Loading branch information
Mikolaj authored Feb 23, 2022
2 parents ddf3ba2 + 22b700b commit 8667432
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions cabal-install/src/Distribution/Client/ProjectPlanning.hs
Original file line number Diff line number Diff line change
Expand Up @@ -1734,10 +1734,6 @@ elaborateInstallPlan verbosity platform compiler compilerprogdb pkgConfigDB
elaboratedSharedConfig
elab) -- recursive use of elab

| otherwise
= error $ "elaborateInstallPlan: non-inplace package "
++ " is missing a source hash: " ++ prettyShow pkgid

-- Need to filter out internal dependencies, because they don't
-- correspond to anything real anymore.
isExt confid = confSrcId confid /= pkgid
Expand Down Expand Up @@ -3495,7 +3491,6 @@ setupHsConfigureFlags (ReadyPackage elab@ElaboratedConfiguredPackage{..})
= Map.toList $
Map.insertWith (++) "ghc" ["-hide-all-packages"]
elabProgramArgs
| otherwise = Map.toList elabProgramArgs
configProgramPathExtra = toNubList elabProgramPathExtra
configHcFlavor = toFlag (compilerFlavor pkgConfigCompiler)
configHcPath = mempty -- we use configProgramPaths instead
Expand Down

0 comments on commit 8667432

Please sign in to comment.