git.iko.soy/typeable/cabal2nix
on master help sign in
hackage2nix.hs: avoid control-monad-free 0.6.x because it's broken on anything but 7.8.x
d28596bPeter Simons
src/hackage2nix.hs+3−2
@@ -231,8 +231,9 @@ defaultConfiguration = Configuration
231 , compilerId = CompilerId GHC (Version [7,8,4] [])
231 , compilerId = CompilerId GHC (Version [7,8,4] [])
232
232
233 , defaultPackageOverrides = map (\s -> fromMaybe (error (show s ++ " is not a valid override selector")) (simpleParse s))
233 , defaultPackageOverrides = map (\s -> fromMaybe (error (show s ++ " is not a valid override selector")) (simpleParse s))
234+ [ "control-monad-free < 0.6" -- newer versions don't compile with anything but GHC 7.8.x
234− [ "mtl == 2.1.*" -- newer versions require transformers > 4, which we cannot provide in GHC 7.8.x
235+ , "mtl == 2.1.*" -- newer versions require transformers > 4, which we cannot provide in GHC 7.8.x
235− , "HStringTemplate < 0.8" -- 0.8 depends on time >= 1.5, which we cannot provide in GHC 7.8.x
236+ , "HStringTemplate < 0.8" -- 0.8 depends on time >= 1.5, which we cannot provide in GHC 7.8.x
236 ]
237 ]
237
238
238 , corePackages = map (\s -> fromMaybe (error (show s ++ " is not a valid core package")) (simpleParse s))
239 , corePackages = map (\s -> fromMaybe (error (show s ++ " is not a valid core package")) (simpleParse s))