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