cabal sandboxes executable path

Roman Cheplyaka roma at
Fri Dec 27 00:02:29 UTC 2013

* Tom Ellis <tom-lists-haskell-cafe-2013 at> [2013-12-26 19:33:19+0000]
> On Thu, Dec 26, 2013 at 08:18:40PM +0100, Konstantine Rybnikov wrote:
> > Wow, this is a real surprise for me! Thank for clarifying that!
> > 
> > I hope it's just me who missed this important information. Could you please
> > share where was it described and how people know about it?
> This is a surprise to me too.  What's the difference between the executable
> in 'dist' and the final one?   What happens if I just do 'cabal build'?  Is
> the final one not actually built?

In that case the executable is built (and placed under dist/), just not
copied to the final destination (such as ~/.cabal/bin or .cabal-sandbox/bin).

This is much like traditional make && make install.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <>

More information about the Libraries mailing list