src/Snap/Starter.hs:1:1:
Exception when trying to run compile-time code:
project_template/barebones/./dist/build/projname/projname-tmp/Main.o: hGetContents: invalid argument (Invalid or incomplete multibyte or wide character)
I disabled this part of snap and rebuilt - and got it to work.
Add a simple project template that demonstrates basic usage of the auth snaplet.
I'm new to github pull requests - so apologies if you want patches in some other format (or rebased into a single commit or similar.)
Tested in the 0.9 branch by cabal-dev building in the snap/project_template/auth directory.
BTW I couldn't get some parts of snap 0.9 to build locally, I faced this error:
Loading package snap-server-0.9.0 ... linking ... done.
src/Snap/Starter.hs:1:1: Exception when trying to run compile-time code: project_template/barebones/./dist/build/projname/projname-tmp/Main.o: hGetContents: invalid argument (Invalid or incomplete multibyte or wide character)
I disabled this part of snap and rebuilt - and got it to work.