git.iko.soy/typeable/cabal2nix
on master help sign in
Update default compiler to GHC 7.10.2.
3803048Peter Simons
src/Cabal2Nix/Generate.hs+1−1
@@ -21,7 +21,7 @@ cabal2nix flags' cabal = drv { cabalFlags = flags }
21 flags
21 flags
22 (const True)
22 (const True)
23 (Platform X86_64 Linux) -- shouldn't be hardcoded
23 (Platform X86_64 Linux) -- shouldn't be hardcoded
24− (unknownCompilerInfo (CompilerId GHC (Version [7,10,1] [])) NoAbiTag)
24+ (unknownCompilerInfo (CompilerId GHC (Version [7,10,2] [])) NoAbiTag)
25 []
25 []
26 cabal
26 cabal
27
27
src/hackage2nix.hs+1−1
@@ -256,7 +256,7 @@ cabal2nix resolver cabal = (missingDeps, flags, drv)
256defaultConfiguration :: Configuration
256defaultConfiguration :: Configuration
257defaultConfiguration = Configuration
257defaultConfiguration = Configuration
258 { platform = Platform X86_64 Linux
258 { platform = Platform X86_64 Linux
259− , compilerInfo = unknownCompilerInfo (CompilerId GHC (Version [7,10,1] [])) NoAbiTag
259+ , compilerInfo = unknownCompilerInfo (CompilerId GHC (Version [7,10,2] [])) NoAbiTag
260
260
261 , defaultPackageOverrides = map (\s -> fromMaybe (error (show s ++ " is not a valid override selector")) (simpleParse s))
261 , defaultPackageOverrides = map (\s -> fromMaybe (error (show s ++ " is not a valid override selector")) (simpleParse s))
262 [ "errors < 2" -- the update breaks some ~40 important packages
262 [ "errors < 2" -- the update breaks some ~40 important packages