1 parent b3dcca0 commit be5aec3Copy full SHA for be5aec3
1 file changed
src/Stack/Build.hs
@@ -603,6 +603,10 @@ loadDatabase menv mpcache mdb sourceMap0 = do
603
| otherwise -> case ps of
604
-- Never trust an installed local, instead we do dirty
605
-- checking later when constructing the plan
606
+ --
607
+ -- TODO: This logic is faulty right now, and breaks in the
608
+ -- case where an extra-dep depends on a local package (such
609
+ -- as happens in the wai repo). This needs to be rethought
610
PSLocal _ -> return False
611
612
-- Shadow any installations in the global and snapshot
0 commit comments