Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Yesod 1.4 cabal sandbox

The current Yesod quickstart recommends Stack which is good. You should use Stack.

I wanted to build Yesod 1.4 in an old-fashioned cabal sandbox, so I first built it the stack environment, found all of the package versions, and produced a cabal.config and build script that gets it all going.

How to use:

mkdir my-yesod-project
cd my-yesod-project



This takes about 18 minutes on my quad-core E450 thinkpad.

Now to initialise the scaffold and run the devel server:

export PATH=`pwd`/.cabal-sandbox/bin:$PATH

yesod init --bare

cabal build

cabal repl # Check that this works

yesod devel

Then visit