Fix build

This commit is contained in:
Matt Parsons 2015-11-13 18:46:41 -05:00
parent 6f98f31b5c
commit 7c74723ba7
3 changed files with 10 additions and 7 deletions

View file

@ -4,6 +4,7 @@ module Lib
) where
import GHCJS.Foreign ()
import GHCJS.DOM ()
import GHCJS.Types
foreign import javascript unsafe "window.alert($1)" js_alert :: JSString -> IO ()

View file

@ -1,9 +1,10 @@
resolver: lts-3.13
compiler: ghcjs-0.2.0.20151001_ghc-7.10.2
resolver: ghcjs-0.2.0.20151029_ghc-7.10.2
compiler-check: match-exact
setup-info:
ghcjs:
source:
ghcjs-0.2.0.20151001_ghc-7.10.2:
url: "https://github.com/fizruk/ghcjs/releases/download/v0.2.0.20151001/ghcjs-0.2.0.20151001.tar.gz"
source:
ghcjs-0.2.0.20151029_ghc-7.10.2:
url: "https://github.com/nrolland/ghcjs/releases/download/v0.2.0.20151029/ghcjs-0.2.0.20151029.tar.gz"
extra-deps:
- 'ghcjs-dom-0.2.3.0'

View file

@ -19,6 +19,7 @@ library
exposed-modules: Lib
build-depends: base >= 4.7 && < 5
, ghcjs-base
, ghcjs-dom
default-language: Haskell2010
executable ui-output