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@gmail.com> wrote:
On Thu, Dec 26, 2013 at 12:35 PM, Konstantine Rybnikov <k-bx@k-bx.com> 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@gmail.com                                  ballbery@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net