Skip to content

Commit c83ed1c

Browse files
committed
Fixup cherry-pick
1 parent 08db0c1 commit c83ed1c

File tree

1 file changed

+0
-14
lines changed
  • cabal-install-solver/src/Distribution/Solver/Modular

1 file changed

+0
-14
lines changed

cabal-install-solver/src/Distribution/Solver/Modular/Index.hs

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -57,17 +57,3 @@ mkIndex xs = M.map M.fromList (groupMap (L.map (\ (pn, i, pi) -> (pn, (i, pi)))
5757
groupMap :: Ord a => [(a, b)] -> Map a [b]
5858
groupMap xs = M.fromListWith (flip (++)) (L.map (\ (x, y) -> (x, [y])) xs)
5959

60-
defaultQualifyOptions :: Index -> QualifyOptions
61-
defaultQualifyOptions idx = QO {
62-
qoBaseShim = or [ dep == base
63-
| -- Find all versions of base ..
64-
Just is <- [M.lookup base idx]
65-
-- .. which are installed ..
66-
, (I _ver _stage (Inst _), PInfo deps _comps _flagNfo _fr) <- M.toList is
67-
-- .. and flatten all their dependencies ..
68-
, (LDep _ (Dep (PkgComponent dep _) _ci), _comp) <- flattenFlaggedDeps deps
69-
]
70-
, qoSetupIndependent = True
71-
}
72-
where
73-
base = mkPackageName "base"

0 commit comments

Comments
 (0)