Skip to content

Commit

Permalink
There's only one solver
Browse files Browse the repository at this point in the history
FIXME: This change should be everywhere
  • Loading branch information
andreabedini committed Aug 28, 2023
1 parent 86dd0c4 commit 29e26b4
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions cabal-install/src/Distribution/Client/ProjectPlanning.hs
Original file line number Diff line number Diff line change
Expand Up @@ -859,20 +859,14 @@ phaseRunSolver
-- ones relevant for the compiler.

liftIO $ do
solver <-
chooseSolver
verbosity
(solverSettingSolver solverSettings)
(compilerInfo compiler)

notice verbosity "Resolving dependencies..."
planOrError <-
foldProgress logMsg (pure . Left) (pure . Right) $
planPackages
verbosity
compiler
platform
solver
Modular
solverSettings
(installedPackages <> installedPkgIndex)
sourcePkgDb
Expand Down

0 comments on commit 29e26b4

Please sign in to comment.