I'm trying to install http-conduit-1.9.6, and running cabal install http-conduit-1.9.6
gives me the following error:
Network/HTTP/Conduit/Request.hs:43:8:
Could not find module `Network.URI'
It is a member of the hidden package `network-2.5.0.0'.
Perhaps you need to add `network' to the build-depends in your .cabal file.
It is a member of the hidden package `network-2.4.1.2'.
Perhaps you need to add `network' to the build-depends in your .cabal file.
Use -v to see a list of the files searched for.
Failed to install http-conduit-1.9.6
World file is already up to date.
cabal: Error: some packages failed to install:
http-conduit-1.9.6 failed during the building phase. The exception was:
ExitFailure 1
I have installed network-2.5.0.0 and network-2.4.1.2, the output of ghc-pkg list network
is:
/var/lib/ghc/package.conf.d
/root/.ghc/x86_64-linux-7.6.3/package.conf.d
network-2.4.1.2
network-2.5.0.0
network-2.6.0.2
I'm new with Haskell, and I'm now sure if having two repositories could be a problem. My work platform is Ubuntu 14.04, GHC 7.6.3, and cabal 1.20.