<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
<p>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:<br>
<br>
</p>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">packages:</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">- '.'</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">- location:</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">    git: https://github.com/well-typed/binary-serialise-cbor.git</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">    commit: 1e11ea5cc7810d241b2fe1bca0ed435baa4d4371</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">  extra-dep: true</span></div>
<div><br>
<span style="font-family: "Courier New", monospace; font-size: 10pt;">flags:</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">  binary-serialise-cbor:</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">    newtime15: true</span></div>
<br>
<br>
<p></p>
<p>And in my .cabal file I have:<br>
<br>
</p>
<div><span style="font-size: 10pt; font-family: "Courier New", monospace;">  build-depends:       base >= 4.7 && < 5,</span></div>
<div><span style="font-size: 10pt; font-family: "Courier New", monospace;">                       network-simple,</span></div>
<div><span style="font-size: 10pt; font-family: "Courier New", monospace;">                       time,</span></div>
<div><span style="font-size: 10pt; font-family: "Courier New", monospace;">                       binary-serialize-cbor,</span></div>
<div><span style="font-size: 10pt; font-family: "Courier New", monospace;">                       bytestring</span></div>
<br>
<br>
<p></p>
<p>When I do stack build the package is downloaded and built but then I get the following error:<br>
<br>
</p>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">Error: While constructing the build plan, the following exceptions were encountered:</span></div>
<div><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">In the dependencies for hcopia-0.1.0.0:</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">    binary-serialize-cbor must match -any, but the stack configuration has no specified version</span></div>
<div><br>
</div>
<p><br>
</p>
I attached both files just in case. <br>
<br>
Regards,
<p></p>
<p>Juan</p>
</div>
</body>
</html>