<div dir="ltr">Stack does have a notion of a global project, which it uses if you're not in a project directory. The error message you received:<div><br></div><div><span style="font-size:12.8px">  Error: While constructing the build plan, the following exceptions</span><br style="font-size:12.8px"><span style="font-size:12.8px">  were encountered:</span><br style="font-size:12.8px"><br style="font-size:12.8px"><span style="font-size:12.8px">  In the dependencies for xmonad-contrib-0.13:</span><br style="font-size:12.8px"><span style="font-size:12.8px">      X11-xft must match >=0.2, but the stack configuration has no</span><br style="font-size:12.8px"><span style="font-size:12.8px">      specified version (latest applicable is 0.3.1)</span><br style="font-size:12.8px"><br style="font-size:12.8px"><span style="font-size:12.8px">  Recommended action: try adding the following to your extra-deps in</span><br style="font-size:12.8px"><span style="font-size:12.8px">  /home/jun/.stack/global-</span><wbr style="font-size:12.8px"><span style="font-size:12.8px">project/stack.yaml:</span><br style="font-size:12.8px"><span style="font-size:12.8px">  - X11-xft-0.3.1</span><br></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">tells you how to make X11-xft-0.3.1 available to the global project, which should allow you to install xmonad-contrib into this global package.</span></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Matt Parsons</div></div></div></div>
<br><div class="gmail_quote">On Fri, Mar 10, 2017 at 10:33 AM, Brandon Allbery <span dir="ltr"><<a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.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 class="gmail_extra"><span class=""><br><div class="gmail_quote">On Fri, Mar 10, 2017 at 12:28 PM, Jun Inoue <span dir="ltr"><<a href="mailto:jun.lambda@gmail.com" target="_blank">jun.lambda@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Am I fundamentally misunderstanding how stack is supposed to be used?</blockquote></div><br></span>Stack is not a package manager. It is a reproducible builds tool. Ad hoc usage like you are doing is outside of its purview.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Also, last I checked, for some reason xmonad-contrib wasn't in stackage, so stack's primary mechanism for avoiding conflicts fails.<span class="HOEnZb"><font color="#888888"><br><div><br></div>-- <br><div class="m_7964020918830901031gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>brandon s allbery kf8nh                               sine nomine associates</div><div><a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a>                                  <a href="mailto:ballbery@sinenomine.net" target="_blank">ballbery@sinenomine.net</a></div><div>unix, openafs, kerberos, infrastructure, xmonad        <a href="http://sinenomine.net" target="_blank">http://sinenomine.net</a></div></div></div>
</font></span></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>