buildwrapper-0.7.0 has the following build error. On the other hand, I successfully installed buildwrapper-0.6.4 on my system.
(ghc-7.6.1, linux x86-64)
I think the same error message happens in hackage build log, too.
$ cabal install buildwrapper
Resolving dependencies...
Configuring buildwrapper-0.7.0...
Building buildwrapper-0.7.0...
Preprocessing library buildwrapper-0.7.0...
[1 of 7] Compiling Language.Haskell.BuildWrapper.Base ( src/Language/Haskell/BuildWrapper/Base.hs, dist/build/Language/Haskell/BuildWrapper/Base.o )
[2 of 7] Compiling Language.Haskell.BuildWrapper.GHCStorage ( src/Language/Haskell/BuildWrapper/GHCStorage.hs, dist/build/Language/Haskell/BuildWrapper/GHCStorage.o )
[3 of 7] Compiling Language.Haskell.BuildWrapper.GHC ( src/Language/Haskell/BuildWrapper/GHC.hs, dist/build/Language/Haskell/BuildWrapper/GHC.o )
src/Language/Haskell/BuildWrapper/GHC.hs:352:57:
Couldn't match expected type `time-1.4.0.1:Data.Time.Clock.UTC.UTCTime'
with actual type `ClockTime'
In the second argument of `(==)', namely `t1'
In the second argument of `(&&)', namely `t2 == t1'
In the expression: hasLoaded && t2 == t1
src/Language/Haskell/BuildWrapper/GHC.hs:373:47:
Couldn't match expected type `ClockTime'
with actual type `time-1.4.0.1:Data.Time.Clock.UTC.UTCTime'
In the first argument of `go', namely `t2'
In the second argument of `unless', namely `(go t2)'
In a stmt of a 'do' block: unless ("q" == l) (go t2)
Failed to install buildwrapper-0.7.0
cabal: Error: some packages failed to install:
buildwrapper-0.7.0 failed during the building phase. The exception was:
ExitFailure 1
buildwrapper-0.7.0 has the following build error. On the other hand, I successfully installed buildwrapper-0.6.4 on my system.
(ghc-7.6.1, linux x86-64)
I think the same error message happens in hackage build log, too.