cabal sandboxes executable path

Brandon Allbery allbery.b at gmail.com
Thu Dec 26 18:00:52 UTC 2013


On Thu, Dec 26, 2013 at 12:35 PM, Konstantine Rybnikov <k-bx at 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 at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/libraries/attachments/20131226/b3015269/attachment.html>


More information about the Libraries mailing list