Add cabal.ghcjs.project

This commit is contained in:
Oleg Grenrus 2018-10-15 19:24:26 +03:00
parent 788e0248f1
commit 2e5f8e7c5f

24
cabal.ghcjs.project Normal file
View file

@ -0,0 +1,24 @@
-- Using https://launchpad.net/~hvr/+archive/ubuntu/ghcjs
--
-- $ cabal new-build --project-file cabal.ghcjs.project all -w /opt/ghcjs/8.4/bin/ghcjs
packages:
servant/
servant-client-core/
servant-client-ghcjs/
-- we need to tell cabal we are using GHCJS
compiler: ghcjs
-- https://github.com/ghcjs/ghcjs/issues/665
constraints: primitive <0.6.4
-- ghcjs-base wants old aeson
allow-newer: ghcjs-base:aeson
-- https://github.com/nomeata/hackage-ghcjs-overlay
repository ghcjs-overlay
url: http://hackage-ghcjs-overlay.nomeata.de/
secure: True
root-keys:
key-threshold: 0