GHCJS-related packages missing from Hackage
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
index
package
.gitignore
01-index.tar
01-index.tar.gz
CNAME
README.md
mirrors.json
root.json
snapshot.json
timestamp.json

README.md

GHCJS package overlay for Hackage

It is possible to develop GHCJS applications with Cabal and cabal-install, just as if one were using GHC. Unfortunately, few people don't, and hence a number of key packages are not being uploaded to Hackage. Until this is fixed, this repository provides a cabal repository with these packages.

What is included?

It includes:

  • ghcjs-base
  • reflex
  • reflex-dom and reflex-dom-core.

How do I use this?

Add this to your ~/.cabal/config:

repository ghcjs-overlay
  url: http://hackage-ghcjs-overlay.nomeata.de/
  secure: True
  root-keys:
  key-threshold: 0

If you use new-style cabal commands, you can also add it to your cabal.project, but you will have to use cabal new-update instead of cabal update.

Can I use this on travis?

Yes you can! See https://github.com/nomeata/ghcjs2gh-pages/ for a .travis.yml file that builds your GHCJS program using this repo (and automatically deploys your GHCJS program to Github Pages).

How is this created?

Manually, so far: I pulled the github repositories, appended the current date to the version, ran cabal sdist to get source tarballs, ran

$ hackage-repo-tool create-keys --keys keys
$ mkdir package/
$ mv .../**/*.tar.gz package/
$ hackage-repo-tool bootstrap --keys keys/ --repo .

and published this on Github Pages.

Some automation might be nice...

Do we really need this?

Only until these bugs are fixed:

Concact

This make-shift service is provided by Joachim Breitner (mail@joachim-breitner.de). It is hosted at https://github.com/nomeata/hackage-ghcjs-overlay where you can report issues.