on master help sign in
Add a FIXME
commit8acf221b72343b5ec0ef14fbbfac94b4b4c8c451 authorMichael Snoyman <michael@snoyman.com> dateFri 12 Dec 2014, 15:48 (12 years ago) parentc6f62c5
1 file changed+4
Stackage2/PerformBuild.hs+4
Stackage2/PerformBuild.hs+4
@@ -294,6 +294,10 @@ singleBuild pb@PerformBuild {..} SingleBuild {..} =
294294
295295 -- Even if the tests later fail, we can allow other libraries to build
296296 -- on top of our successful results
297+ --
298+ -- FIXME do we need to wait to do this until after Haddocks build?
299+ -- otherwise, we could have a race condition and try to build a
300+ -- dependency's haddocks before this finishes
297301 atomically $ putTMVar (piResult sbPackageInfo) True
298302
299303 when (pcHaddocks /= Don'tBuild && not (null $ sdModules $ ppDesc $ piPlan sbPackageInfo)) $ do