Skip to content
This repository has been archived by the owner on Nov 24, 2022. It is now read-only.

Nix Support #836

Open
Fresheyeball opened this issue Dec 30, 2020 · 3 comments
Open

Nix Support #836

Fresheyeball opened this issue Dec 30, 2020 · 3 comments

Comments

@Fresheyeball
Copy link

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.

@nomeata
Copy link

nomeata commented Oct 16, 2021

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.

@dimsmol
Copy link

dimsmol commented Dec 23, 2021

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.

@danwdart
Copy link

danwdart commented Oct 3, 2022

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants