Welcome to reactive-html
, a small library for building reactive web
applications with GHCJS and reactive-banana
. This project is currently a work
in progress, but if you want to play along at home - feel free! The easiest path
is to make sure you have Nix installed, and then you can do:
nix-shell --option binary-caches https://ryantrinkle.com:5443 --run 'ghcjs Main.hs'
chromium Main.jsexe/index.html
If Nix complains about an untrusted binary cache, you will need to make sure
that Ryan’s cache is marked as trusted. If you run NixOS, add this to your
configuration.nix
:
nix.trustedBinaryCaches = [https://ryantrinkle.com:5443];
If you are just running Nix, I believe you’ll need to add this to your
/etc/nix/nix.conf
file:
trusted-binary-caches = https://ryantrinkle.com:5443