Skip to content

Commit be5aec3

Browse files
committed
Add a TODO about wai repo brokenness
1 parent b3dcca0 commit be5aec3

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/Stack/Build.hs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -603,6 +603,10 @@ loadDatabase menv mpcache mdb sourceMap0 = do
603603
| otherwise -> case ps of
604604
-- Never trust an installed local, instead we do dirty
605605
-- 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
606610
PSLocal _ -> return False
607611

608612
-- Shadow any installations in the global and snapshot

0 commit comments

Comments
 (0)