cabal sandboxes executable path

Konstantine Rybnikov k-bx at k-bx.com
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 gmail.com>wrote:

> 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/c9542996/attachment.html>


More information about the Libraries mailing list