Commit 7e197132 authored by Andrew Gibiansky's avatar Andrew Gibiansky

GHC 7.10 fix due to GHC API change

parent 28149eff
...@@ -183,8 +183,9 @@ initializeImports = do ...@@ -183,8 +183,9 @@ initializeImports = do
pkg <- db pkg <- db
depId <- depends pkg depId <- depends pkg
dep <- filter ((== depId) . installedPackageId) db dep <- filter ((== depId) . installedPackageId) db
guard let idString = packageIdString' dflags (packageConfigId dep)
(iHaskellPkgName `isPrefixOf` packageIdString (packageConfigId dep)) guard (iHaskellPkgName `isPrefixOf` idString)
-- ideally the Paths_ihaskell module could provide a way to get the hash too -- ideally the Paths_ihaskell module could provide a way to get the hash too
-- (ihaskell-0.2.0.5-f2bce922fa881611f72dfc4a854353b9), for now. Things will end badly if you also -- (ihaskell-0.2.0.5-f2bce922fa881611f72dfc4a854353b9), for now. Things will end badly if you also
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment