Haskell newbie and Python guy here.
I think I may be missing something here but if you look at Yesod's quickstart, the autor install some packages before cabal sandbox init
. I have seen the same pattern elsewhere. Questions:
- Am I missing something? Is this the real way to use cabal sandbox?
- Why can't (or shouldn't) I install yesod-bin inside a sandbox?
- What if I use different versions of yesod-bin throughout some projects?
- If there is some libraries that install binaries inside .cabal-sandbox/bin, why
cabal sandbox init
don't change PATH in order to match the sandboxed version?
Thank you very much in advance!