I believe you asked this question some months ago, and unfortunately the answer is still the same. The only thing you can do with wai-handler-devel is to try to set these environment variables:

      "GHC_PACKAGE_PATH","./cabal-dev/packages-7.0.3.conf/:"
      "PATH", "./cabal-dev/bin"

For yesod devel you could try this also. Otherwise you would need to modify the yesod source to look for a cabal-dev folder and then invoke a cabal-dev process (there is no library interface). 

I am hoping for great improvements in yesod devel if the Shaker package can come alive again. The maintainer said he was blocked by a GHC but that is now fixed on head and slated for the 7.0.4 release.

Greg Weber

On Mon, Jun 13, 2011 at 8:18 AM, "Timo B. Hübel" <t.h@gmx.info> wrote:
Hi,

is it possible to have a sandbox'ed environment like cabal-dev together
with this new "yesod devel"-environment?

I've just thrown together a quick test with cabal-dev and a scaffolded
yesod site, but calling "yesod devel" just gives me a bunch of missing
dependencies.

Any hints are highly appreciated.

Thank you,
Timo

_______________________________________________
web-devel mailing list
web-devel@haskell.org
http://www.haskell.org/mailman/listinfo/web-devel