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

Fabien R theedge456 at free.fr
Mon Nov 19 10:48:12 UTC 2018


On 18/11/2018 20:34, Vanessa McHale wrote:
> Here's an example:
> 
> source-repository-package
>     type: git
>     location: https://github.com/well-typed/cborg
>     tag: 3d274c14ca3077c3a081ba7ad57c5182da65c8c1
>     subdir: cborg
> 
I could not make it work with my version of cabal.
So, I ended up with installing the package and referencing it in the sandbox with:
cabal sandbox add-source <path-to-pack1>

--
Fabien


More information about the Haskell-Cafe mailing list