Fix ghc-7.4
This commit is contained in:
parent
36ed081d54
commit
471a3ec358
@ -102,3 +102,12 @@ setComponentsConfigs
|
|||||||
setComponentsConfigs lbi cs = lbi { componentsConfigs = cs }
|
setComponentsConfigs lbi cs = lbi { componentsConfigs = cs }
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
#if __GLASGOW_HASKELL__ <= 704
|
||||||
|
|
||||||
|
componentBuildInfo :: Component -> BuildInfo
|
||||||
|
componentBuildInfo =
|
||||||
|
foldComponent libBuildInfo buildInfo testBuildInfo benchmarkBuildInfo
|
||||||
|
|
||||||
|
#endif
|
||||||
|
@ -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-check.el ghc-process.el ghc-command.el ghc-info.el
|
||||||
ghc-ins-mod.el ghc-indent.el ghc-pkg.el ghc-rewrite.el
|
ghc-ins-mod.el ghc-indent.el ghc-pkg.el ghc-rewrite.el
|
||||||
Extra-Source-Files: ChangeLog
|
Extra-Source-Files: ChangeLog
|
||||||
|
SetupCompat.hs
|
||||||
test/data/*.cabal
|
test/data/*.cabal
|
||||||
test/data/*.hs
|
test/data/*.hs
|
||||||
test/data/cabal.sandbox.config.in
|
test/data/cabal.sandbox.config.in
|
||||||
@ -218,6 +219,8 @@ Test-Suite spec
|
|||||||
TestUtils
|
TestUtils
|
||||||
|
|
||||||
Build-Depends: hspec
|
Build-Depends: hspec
|
||||||
|
if impl(ghc == 7.4.*)
|
||||||
|
Build-Depends: executable-path
|
||||||
X-Build-Depends-Like: CLibName
|
X-Build-Depends-Like: CLibName
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user