Closed Gabriella439 closed 6 years ago
Ok, thanks for the report. I've never seen an error like that before, and it doesn't look directly to related to th-lift-instances to me. Looks like you encountered this in a ŧravis build? I'll see if I can reproduce this with travis docker images.
Ok, I managed to reproduce this using the travis docker images. What's weird though is that a plain cabal install th-lift-instances
in the build environment works, but cabal install --only-dependencies --enable-tests
for optparse-applicative fails to install th-lift-instances.
I figured out what happens here. The problem is that the Setup.hs file of th-lift-instances depends on modules from Cabal
and from directory
. These packages are compiled against different versions of the unix
package, so we end up in a situation where the Setup.hs
file is linked against two different versions of the unix package... I'll see if I can remove the dependency on the directory
package to fix this.
I uploaded th-lift-instances-0.1.8
that simply uses build-type: Simple
, since the package does not have doctests atm anyway. I'm leaving this issue open for now though as a personal reminder, since I also use the same code in other packages.
Thank you for fixing this! :)
I get the following failure at configuration time when building
optparse-generic
using GHC 7.6.3: