<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>Thanks for the quick response, that did it! I feel dumb now, I guess the error message tripped me up<br>
<br>
Cheers</p>
<br>
<div style="color: rgb(0, 0, 0);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> michael.snoyman@gmail.com <michael.snoyman@gmail.com> on behalf of Michael Snoyman <michael@snoyman.com><br>
<b>Sent:</b> Friday, January 27, 2017 7:08 AM<br>
<b>To:</b> Juan Luis Martty<br>
<b>Cc:</b> haskell-cafe@haskell.org<br>
<b>Subject:</b> Re: [Haskell-cafe] Problem using external package from git with stack</font>
<div> </div>
</div>
<div>
<div dir="ltr">It's because you're an American.
<div><br>
Replace binary-serialize-cbor with binary-serialise-cbor in your cabal file :)<br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Fri, Jan 27, 2017 at 12:01 PM, Juan Luis Martty <span dir="ltr">
<<a href="mailto:jmartty@hotmail.com" target="_blank">jmartty@hotmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div dir="ltr">
<div id="m_3081062100415436959divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Arial,Helvetica,sans-serif">
<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: <a href="https://github.com/well-typed/binary-serialise-cbor.git" target="_blank">
https://github.com/well-typed/<wbr>binary-serialise-cbor.git</a></span></div>
<div><span style="font-family:"Courier New",monospace; font-size:10pt"> commit: 1e11ea5cc7810d241b2fe1bca0ed43<wbr>5baa4d4371</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>
</div>
<br>
______________________________<wbr>_________________<br>
Haskell-Cafe mailing list<br>
To (un)subscribe, modify options or view archives go to:<br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-<wbr>bin/mailman/listinfo/haskell-<wbr>cafe</a><br>
Only members subscribed via the mailman list are allowed to post.<br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</body>
</html>