[Haskell-cafe] Problem using external package from git with stack
Juan Luis Martty
jmartty at hotmail.com
Fri Jan 27 10:01:19 UTC 2017
Hello, I am trying to use binary-serialise-cbor in my project. Since it's not on hackage I followed the docs and added the following to stack.yaml:
packages:
- '.'
- location:
git: https://github.com/well-typed/binary-serialise-cbor.git
commit: 1e11ea5cc7810d241b2fe1bca0ed435baa4d4371
extra-dep: true
flags:
binary-serialise-cbor:
newtime15: true
And in my .cabal file I have:
build-depends: base >= 4.7 && < 5,
network-simple,
time,
binary-serialize-cbor,
bytestring
When I do stack build the package is downloaded and built but then I get the following error:
Error: While constructing the build plan, the following exceptions were encountered:
In the dependencies for hcopia-0.1.0.0:
binary-serialize-cbor must match -any, but the stack configuration has no specified version
I attached both files just in case.
Regards,
Juan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20170127/5513dcc2/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hcopia.cabal
Type: application/octet-stream
Size: 1190 bytes
Desc: hcopia.cabal
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20170127/5513dcc2/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stack.yaml
Type: application/x-yaml
Size: 2364 bytes
Desc: stack.yaml
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20170127/5513dcc2/attachment.bin>
More information about the Haskell-Cafe
mailing list