Skip to content
ziocroc edited this page Apr 29, 2017 · 2 revisions

Desktop

Simply install Ombra from Hackage with no options:

cabal install ombra

Browser

hashtables needs to be installed using the -fportable option:

cabal install --ghcjs -fportable hashtables

Then you can install Ombra from Hackage, enabling the webgl flag:

cabal install --ghcjs -fwebgl ombra

Finally, you have to apply the GHCJS runtime patch to fix a bug that prevents Ombra from working:

cd ~/.ghcjs/<currentversion>/ghcjs/shims/src/
patch < ghcjs-rts-bug.patch

Where <currentversion> is something like x86_64-linux-0.2.1-8.0.1.

Clone this wiki locally