cabal sandboxes executable path

Konstantine Rybnikov k-bx at
Thu Dec 26 19:18:40 UTC 2013

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?

Thank you!

On Thu, Dec 26, 2013 at 7:00 PM, Brandon Allbery <allbery.b at>wrote:

> On Thu, Dec 26, 2013 at 12:35 PM, Konstantine Rybnikov <k-bx at>wrote:
>> After I do `cabal install`, I get two binaries:
>> - in `dist/dist-sandbox-$ID/build/Foo/Foo`
>> - in `.cabal-sandbox/bin/Foo`
>> They seem to be different. Is this ok? Which one of them is the right one?
> This isn't sandbox specific; you'll find that executables get staged under
> dist/ in normal cabal builds and even when using the old `runhaskell
> Setup.hs` method. This should be considered a temporary build file, like
> everything else under dist/; the one in bin/ is the final executable.
> --
> brandon s allbery kf8nh                               sine nomine
> associates
> allbery.b at
> ballbery at
> unix, openafs, kerberos, infrastructure, xmonad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Libraries mailing list