yesod-fay: Utilities for using the Fay Haskell-to-JS compiler with Yesod.

[ library, mit, web, yesod ] [ Propose Tags ]
Versions,,,,, 0.1.1, 0.2.0,, 0.3.0, 0.4.0,,,,,,,, 0.5.0,, 0.5.1, 0.5.2, 0.6.0,, 0.6.1, 0.7.0, 0.7.1, 0.8.0
Change log
Dependencies aeson (>=0.6), base (==4.*), bytestring (>=0.9), data‑default (>=0.4), directory (>=, fay (>=, fay‑dom (>=0.5), filepath, monad‑loops (>=, process, pureMD5 (>=, shakespeare, template‑haskell, text (>=0.11), transformers (>=0.2), utf8‑string (>=0.3.7), yesod‑core (>=1.4), yesod‑form (>=1.4), yesod‑static (>=1.4) [details]
License MIT
Author Michael Snoyman
Category Web, Yesod
Home page
Uploaded by MichaelSnoyman at Tue May 12 09:57:17 UTC 2015
Distributions NixOS:0.8.0
Downloads 9398 total (75 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2015-05-21 [all 2 reports]
Hackage Matrix CI

For initial discussion, see This is a work-in-progress.

[Skip to Readme]




Maintainer's Corner

For package maintainers and hackage trustees

Readme for yesod-fay-0.8.0

[back to package description]


Utilities for using the Fay Haskell-to-JS compiler with Yesod.

For an example of a Yesod application with Fay integrated, have a look at the sample/ directory in this repository, or alternatively use the experimental Postgres-Fay (pf) application template (select it when running yesod init with recent versions of Yesod).

Usage with cabal sandboxes

You are highly encouraged to create a cabal sandbox for your Yesod app. This feature is available in cabal 1.18+.

Use the following command to set an environment variable (this is a workaround, needed until Fay integrates with haskell-packages, only possible after cabal 1.20 is released).

export HASKELL_PACKAGE_SANDBOX=`echo .cabal-sandbox/*-packages.conf.d/`

Make sure to run this from the root of the Yesod project.