<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 5, 2016 at 12:40 PM, Simon Peyton Jones via ghc-devs <span dir="ltr"><<a href="mailto:ghc-devs@haskell.org" target="_blank">ghc-devs@haskell.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p>bash$ which cabal<u></u><u></u></p>
<p>/home/simonpj/.cabal/bin/cabal<u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:12.0pt">Maybe I need 1.24. Which claims to be installed. But WHERE is it installed?<u></u><u></u></span></p>
<p class="MsoNormal"></p></blockquote></div><br>Try "type cabal". "which" has a nasty tendency to show you what the next shell you open (or sometimes the next time you login) will see; shells remember what they've already seen, so it's probably still running the old one (likely in /usr/bin or /usr/local/bin). POSIX requires "type" to show what the *current* shell (thinks it) knows, not what some future shell will see.</div><div class="gmail_extra"><br></div><div class="gmail_extra">"hash -r" should work to reset the shell's idea of where cabal is, if "type" says it's running a different cabal.<br clear="all"><div><br></div>-- <br><div class="gmail_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>
</div></div>