asterius
asterius copied to clipboard
Nix Support
The bulk of Haskell frontend projects today use GHCJS, which basically requires Nix to work. If this project had Nix support (instead of/in addition to the Docker image), it would be much easier to adopt. For many of us in production frontend Haskell space, the absence of a Nix expression for this compiler makes adoption prohibitively difficult.
I would personally prefer using Asterius for WASM to WebGHC, but I can't plausibility do that if the build path is Docker. Additionally if a version jsaddle-wasm was added for Asterius it would further speed up adoption.
I was just about to play with asterius, and was surprised to see that nix is not the (or at least one) official way to build it… so supporting this suggestion.
It looks like Asterius has got some Nix support recently, though I couldn't find any related documentation (the build instructions were not updated yet).
Also, there is an earlier related issue #255.
There is this dev env for nix: https://github.com/tweag/asterius/blob/TerrorJack/nix/shell.nix
I might check that out, but it does look like there's nothing concrete yet, but looking forward to this, so that I can start using it in production.