reflex-frp / reflex-dom

Web applications without callbacks or side-effects. Reflex-DOM brings the power of functional reactive programming (FRP) to the web. Build HTML and other Document Object Model (DOM) data with a pure functional interface.
https://reflex-frp.org
BSD 3-Clause "New" or "Revised" License
358 stars 145 forks source link

Building using ghc 9.8 JS backend dies #473

Open danwdart opened 1 month ago

danwdart commented 1 month ago

Even using the 9.8 branches, I'm not sure why we're building native stuff at all here, but it looks like glib complains if I add reflex-dom to a js-backend ghc98 project:

error: Package ‘glib-2.80.3’ in /nix/store/661gwrmc68x88wbvzwsdlbwv6za09r3f-nixos/nixos/pkgs/development/libraries/glib/default.nix:329 is not available on the requested hostPlatform:
         hostPlatform.config = "javascript-unknown-ghcjs"

Any idea what I could do or is it still under development?

alexfmpe commented 1 month ago

See https://github.com/NixOS/nixpkgs/pull/329197

danwdart commented 1 month ago

Aha! Thanks for pointing that out to me.