Fix ghc-7.4

This commit is contained in:
Daniel Gröber 2015-02-07 23:05:04 +01:00
parent 36ed081d54
commit 471a3ec358
2 changed files with 12 additions and 0 deletions

View File

@ -102,3 +102,12 @@ setComponentsConfigs
setComponentsConfigs lbi cs = lbi { componentsConfigs = cs }
#endif
#if __GLASGOW_HASKELL__ <= 704
componentBuildInfo :: Component -> BuildInfo
componentBuildInfo =
foldComponent libBuildInfo buildInfo testBuildInfo benchmarkBuildInfo
#endif

View File

@ -26,6 +26,7 @@ Data-Files: Makefile ghc.el ghc-func.el ghc-doc.el ghc-comp.el
ghc-check.el ghc-process.el ghc-command.el ghc-info.el
ghc-ins-mod.el ghc-indent.el ghc-pkg.el ghc-rewrite.el
Extra-Source-Files: ChangeLog
SetupCompat.hs
test/data/*.cabal
test/data/*.hs
test/data/cabal.sandbox.config.in
@ -218,6 +219,8 @@ Test-Suite spec
TestUtils
Build-Depends: hspec
if impl(ghc == 7.4.*)
Build-Depends: executable-path
X-Build-Depends-Like: CLibName