Add a FIXME

This commit is contained in:
Michael Snoyman 2014-12-12 15:48:05 +02:00
parent c6f62c5f8e
commit 8acf221b72

View File

@ -294,6 +294,10 @@ singleBuild pb@PerformBuild {..} SingleBuild {..} =
-- Even if the tests later fail, we can allow other libraries to build
-- on top of our successful results
--
-- FIXME do we need to wait to do this until after Haddocks build?
-- otherwise, we could have a race condition and try to build a
-- dependency's haddocks before this finishes
atomically $ putTMVar (piResult sbPackageInfo) True
when (pcHaddocks /= Don'tBuild && not (null $ sdModules $ ppDesc $ piPlan sbPackageInfo)) $ do