@@ -0,0 +1,24 @@
1+-- Using https://launchpad.net/~hvr/+archive/ubuntu/ghcjs
2+--
3+-- $ cabal new-build --project-file cabal.ghcjs.project all -w /opt/ghcjs/8.4/bin/ghcjs
4+
5+packages:
6+ servant/
7+ servant-client-core/
8+ servant-client-ghcjs/
9+
10+-- we need to tell cabal we are using GHCJS
11+compiler: ghcjs
12+
13+-- https://github.com/ghcjs/ghcjs/issues/665
14+constraints: primitive <0.6.4
15+
16+-- ghcjs-base wants old aeson
17+allow-newer: ghcjs-base:aeson
18+
19+-- https://github.com/nomeata/hackage-ghcjs-overlay
20+repository ghcjs-overlay
21+ url: http://hackage-ghcjs-overlay.nomeata.de/
22+ secure: True
23+ root-keys:
24+ key-threshold: 0