<div dir="ltr"><div>Scratch that, I'm just dyslexic. It's the difference between:</div><div><br></div><div>xslx</div><div><br></div><div>and</div><div><br></div><div>xlsx<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 30, 2017 at 4:52 PM, Michael Snoyman <span dir="ltr"><<a href="mailto:michael@snoyman.com" target="_blank">michael@snoyman.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">Looks like a bug in Stack, can you open an issue on the issue tracker?<br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 30, 2017 at 4:41 PM, Olaf Klinke <span dir="ltr"><<a href="mailto:olf@aatal-apotheke.de" target="_blank">olf@aatal-apotheke.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear cafe,<br>
<br>
I discovered that stack/cabal is sensitive to permutations in the dependencies list. Is that desired behaviour and documented anywhere?<br>
<br>
#File stack.yaml<br>
resolver: lts-9.2<br>
packages:<br>
- '.'<br>
extra-deps: [iCalendar-0.4.0.3,mime-0.4.0.<wbr>2,wx-0.92.3.0,wxcore-0.92.3.0,<wbr>wxc-0.92.3.0,wxdirect-0.92.3.0<wbr>]<br>
flags: {}<br>
extra-package-dbs: []<br>
system-ghc: false<br>
<br>
# In file myproject.cabal<br>
build-depends: base >= 4.7 && < 5<br>
, HaXml >= 1.13.3<br>
, iCalendar >= 0.3.7.3<br>
, containers<br>
, time >= 1.6.0.1<br>
, text<br>
, case-insensitive<br>
, xslx<br>
, xlsx-tabular<br>
, wx<br>
<br>
"stack build" generates the rather uninformative error message<br>
In the dependencies for myproject-0.2.1.0:<br>
xslx must match -any, but the stack configuration has no specified version<br>
<br>
# In file myproject.cabal<br>
build-depends: base >= 4.7 && < 5<br>
, xlsx<br>
, xlsx-tabular<br>
, HaXml >= 1.13.3<br>
, iCalendar >= 0.3.7.3<br>
, containers<br>
, time >= 1.6.0.1<br>
, text<br>
, case-insensitive<br>
, wx<br>
<br>
This version builds just fine.<br>
-- Olaf<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-bi<wbr>n/mailman/listinfo/haskell-caf<wbr>e</a><br>
Only members subscribed via the mailman list are allowed to post.</blockquote></div><br></div>
</div></div></blockquote></div><br></div>