on master help sign in
Only build criterion for GHC 7.8 and later (due to binary package issues)
9107082Michael Snoyman
Stackage/Config.hs+4−1
@@ -223,7 +223,6 @@ defaultStablePackages ghcVer requireHP = unPackageMap $ execWriter $ do
223 , "base16-bytestring convertible"
223 , "base16-bytestring convertible"
224 , "compdata hybrid-vectors"
224 , "compdata hybrid-vectors"
225 , "executable-path formatting"
225 , "executable-path formatting"
226− , "criterion"
227 ]
226 ]
228 when (ghcVer < GhcMajorVersion 7 8) $ do -- No GHC 7.8 support
227 when (ghcVer < GhcMajorVersion 7 8) $ do -- No GHC 7.8 support
229 mapM_ (add "FP Complete <michael@fpcomplete.com>") $ words =<<
228 mapM_ (add "FP Complete <michael@fpcomplete.com>") $ words =<<
@@ -231,6 +230,10 @@ defaultStablePackages ghcVer requireHP = unPackageMap $ execWriter $ do
231 , "threepenny-gui unification-fd"
230 , "threepenny-gui unification-fd"
232 ]
231 ]
233 addRange "FP Complete <michael@fpcomplete.com>" "compdata" "< 0.8"
232 addRange "FP Complete <michael@fpcomplete.com>" "compdata" "< 0.8"
233+ when (ghcVer >= GhcMajorVersion 7 8) $
234+ mapM_ (add "FP Complete <michael@fpcomplete.com>") $ words =<<
235+ [ "criterion"
236+ ]
234
237
235 -- Deprecated version
238 -- Deprecated version
236 addRange "FP Complete <michael@fpcomplete.com>" "persistent-mongoDB" "< 1.3.1 || > 1.3.1"
239 addRange "FP Complete <michael@fpcomplete.com>" "persistent-mongoDB" "< 1.3.1 || > 1.3.1"