Skip to content

Instantly share code, notes, and snippets.

@nwg
Last active December 30, 2018 14:40
Show Gist options
  • Save nwg/b8e89ca672009f13246f984a40dae1a1 to your computer and use it in GitHub Desktop.
Save nwg/b8e89ca672009f13246f984a40dae1a1 to your computer and use it in GitHub Desktop.
1) Download haskell platform and install: https://haskell.org/platform/download/8.6.3/Haskell%20Platform%208.6.3%20Core%2064bit-signed.pkg
2) cabal new-install snap
3) mkdir /tmp/snap-test
4) cd /tmp/snap-test
5) $HOME/.local/bin/snap init
5.2) edit snap-test.cabal and remove -threaded and -O2 and add -g
6) cabal new-build -fdevelopment
6.2) cabal new-run
7) (direct browser to 0.0.0.0:8000)
8) (click on 'create a new user')
9) (enter account details and submit)
10) *CRASH*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment