New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to install GHCJS? #819
Comments
I think you will get more info about ghcjs in https://github.com/dmjio/miso#quick-start than in this repo |
@jneira I'm not interested in using nix. Also see: https://gitlab.haskell.org/haskell/ghcup-hs/-/issues/275 |
There are some outdated instructions using... you guess? stack! here: https://github.com/ghcjs/ghcjs/wiki/GHCJS-User-Guide |
I installed [edit: on Ubuntu] with |
So there are no bindists? |
I don't think there are any. |
I had a little hiccup installing it in windows too: #750 |
This is closest to bindist that it ever was, I think: https://launchpad.net/~hvr/+archive/ubuntu/ghcjs |
Why? Is something wrong with the build system? |
Not right now, it probably builds now, but there are years when nothing builds or only old GHCs do. However, GHCJS is formally a set of libraries, one of them not on hackage. You just build them with cabal or something and that's the build system and the bindists would just be the built versions of the packages, which may presumably depend on the version of node or the webassembly compiler that has a name similar to emacs and these are not bundled. The old version @hvr built only required node, but no idea if he included it and what extra tricks were needed. |
Excellent, so only the ancient long gone Maya still know the ways to build a GHCJS bindist... knowledge isn't linear. Sometimes it's lost. 😭 |
Moreover, we know that the tradition of the ancients worked great for them and made them happy, but even if recovered, it can't be applied to our situation (the webassembly thing and probably other changes). |
I think basically all GHCJS uses use Nix....precisely because it is best way to codify this sort of knowledge so it doesn't rot away! Look at: The current plan as I am told is also to upstream GHCJS so these issues go away once and for all. |
For what it's worth, I'm a GHCJS user who doesn't use nix. See https://github.com/google/codeworld/blob/master/install.sh#L203 for the build process I use. |
Apparently not, because users have requested GHCJS support in ghcup, which is why I'm investigating the options.
That looks interesting. |
I don't. I have build my own IMHO, ghcup installation from source is not viable in uncontrolled environment, so I'd think twice before adding support to |
Forgot to mention: nor GHCJS ever had any proper releases, which further adds inconvenience. |
I'm looking at the readme and it provides no installation instructions.
https://github.com/ghcjs/ghcjs#quick-start---developing-ghcjs seems to talk about "Developing GHCJS".
The text was updated successfully, but these errors were encountered: