Skip to content

Commit e0d283b

Browse files
committed
Remove special case for running solver with no targets
The TODO deleted in 4d3f7b5 suggests that the special case was only needed for the top-down solver, which has been removed.
1 parent 9adf58c commit e0d283b

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

cabal-install/src/Distribution/Client/Dependency.hs

-6
Original file line numberDiff line numberDiff line change
@@ -777,12 +777,6 @@ resolveDependencies
777777
-> Solver
778778
-> DepResolverParams
779779
-> Progress String String SolverInstallPlan
780-
-- TODO: is this needed here? see dontInstallNonReinstallablePackages
781-
resolveDependencies platform comp _pkgConfigDB _solver params
782-
| Set.null (depResolverTargets params) =
783-
return (validateSolverResult platform comp indGoals [])
784-
where
785-
indGoals = depResolverIndependentGoals params
786780
resolveDependencies platform comp pkgConfigDB solver params =
787781
Step (showDepResolverParams finalparams) $
788782
fmap (validateSolverResult platform comp indGoals) $

0 commit comments

Comments
 (0)