This corresponds fairly closely with the code used in the blog series.
Where they have diverged, I'll try to fix things up once the dust settles by
- update the blog post
- adding the various relevant versions of the code back in as additional modules
Although there's still a bit more dust to stir up :)
Building everything with Cabal sandboxes
cabal sandbox init --sandbox ./sandboxin this directory
- Change into the directory of the project you want to build
cabal sandbox init --sandbox ../sandbox
cabal install --only-dependencies
Suggested order to build things in
The order will matter a bit, due to the internal dependencies.
My suggestion is:
Building everything with Nix
- Head into whichever directory looks interesting to you
nix-shell --command 'cabal configure'
cabal repl, or whatever else you like