liqula / react-hs

A GHCJS binding to React based on the Flux design. The flux design pushes state and complicated logic out of the view, allowing the rendering functions and event handlers to be pure Haskell functions.
32 stars 10 forks source link

add default.nix #74

Closed divipp closed 6 years ago

tysonzero commented 6 years ago

@divipp I'm not super familiar with nix. Is this the correct thing to do to make react-hs work well with nix? Is there much worth discussing with regards to this or is this for sure safe to merge.

divipp commented 6 years ago

@tysonzero I'm also not super familiar to nix. I don't know whether this is the correct nix support for react-hs. It is correct in the sense that it seemed to worked at least in one setting. So it can be a start to build upon. I think this patch is safe to merge.