ζ: cabal --version
cabal-install version 1.19.0
using version 1.19.0 of the Cabal library
ζ: ghc-pkg list haskell-names
/var/lib/ghc/package.conf.d
/home/stijn/.ghc/x86_64-linux-7.6.3/package.conf.d
haskell-names-0.3.1
ζ: hs-gen-iface --version
haskell-names 0.2
Based on haskell-packages version 0.2.3.1
I'm trying to generate interfaces.
ζ: cabal install --haskell-suite -w hs-gen-iface transformers
Resolving dependencies...
Configuring transformers-0.3.0.0...
Building transformers-0.3.0.0...
Preprocessing library transformers-0.3.0.0...
hs-gen-iface: BadInterface "/home/stijn/.cabal/share/x86_64-linux-ghc-7.6.3/haskell-names-0.3.1/libraries/base-4.7.0.0/Control/Applicative.names" "mzero"
Failed to install transformers-0.3.0.0
cabal: Error: some packages failed to install:
transformers-0.3.0.0 failed during the building phase. The exception was:
ExitFailure 1
I've found the same problem when using haskell-names in my own project. I've tracked the mzero down to the instance FromJSON name => FromJSON (SymTypeInfo name), where entity turns out to be "selector".
On a clean setup with the patched Cabal
I'm trying to generate interfaces.
I've found the same problem when using
haskell-names
in my own project. I've tracked themzero
down to theinstance FromJSON name => FromJSON (SymTypeInfo name)
, whereentity
turns out to be"selector"
.