
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

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"
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

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"
Yes I did, and I thought this is not going to work anymore, as the wai-handler-devel thing was replaced by "yesod devel". Hence I hoped for some improvement here ;) But nevertheless, I will give this a try, thanks! Timo

yesod devel is the future, but you should still be able to use
wai-handler-devel
Greg
On Mon, Jun 13, 2011 at 9:29 AM, "Timo B. Hübel"
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"
Yes I did, and I thought this is not going to work anymore, as the wai-handler-devel thing was replaced by "yesod devel". Hence I hoped for some improvement here ;)
But nevertheless, I will give this a try, thanks!
Timo

Right now, "yesod devel" uses the Cabal library, so therefore does not
work well with cabal-dev. I think a milestone for the Yesod 0.9
release should be a major cleanup of "yesod devel". Greg and I have
been discussing having Yesod hacking sessions over IRC and/or Skype; I
think that "yesod devel" is something complicated enough that having a
few people working on it together would be very beneficial. If people
are interested in having a discussion about it, contact me and we
should arrange a time.
As a general idea, I think "yesod devel" could *almost* entirely be
implemented as a shell script. I would like to avoid such an approach,
because it won't work on Windows. But perhaps simply implementing a
shell script approach in Haskell would be sufficient.
Michael
On Mon, Jun 13, 2011 at 6:18 PM, "Timo B. Hübel"
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
participants (3)
-
"Timo B. Hübel"
-
Greg Weber
-
Michael Snoyman