on master help sign in
Add a FIXME
8acf221Michael Snoyman
Stackage2/PerformBuild.hs+4
@@ -294,6 +294,10 @@ singleBuild pb@PerformBuild {..} SingleBuild {..} =
294
294
295 -- Even if the tests later fail, we can allow other libraries to build
295 -- Even if the tests later fail, we can allow other libraries to build
296 -- on top of our successful results
296 -- 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
297 atomically $ putTMVar (piResult sbPackageInfo) True
301 atomically $ putTMVar (piResult sbPackageInfo) True
298
302
299 when (pcHaddocks /= Don'tBuild && not (null $ sdModules $ ppDesc $ piPlan sbPackageInfo)) $ do
303 when (pcHaddocks /= Don'tBuild && not (null $ sdModules $ ppDesc $ piPlan sbPackageInfo)) $ do