From 2e5f8e7c5f1fd26b1a8bd238a407b77bec913f84 Mon Sep 17 00:00:00 2001 From: Oleg Grenrus Date: Mon, 15 Oct 2018 19:24:26 +0300 Subject: [PATCH] Add cabal.ghcjs.project --- cabal.ghcjs.project | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 cabal.ghcjs.project diff --git a/cabal.ghcjs.project b/cabal.ghcjs.project new file mode 100644 index 00000000..c338fbff --- /dev/null +++ b/cabal.ghcjs.project @@ -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