[Haskell-cafe] external git dependency source in .cabal

Fabien R theedge456 at free.fr
Sun Nov 18 11:53:50 UTC 2018


Hello,
I'm trying to reference an external source of a package within a sandbox, using cabal 2.0.0.1:

source-repository head
   type: git
   location: <git URL of pack1>

executable myExe
    build-depends: base==4.10.1.0, pack1 -any

But "cabal -v install --only-dependencies" fails:

cabal: Encountered missing dependencies:
pack1 -any

Any hint ?

--
Fabien


More information about the Haskell-Cafe mailing list