nixpkgs/pkgs/development/compilers/ghcjs-ng
Peter Simons 3b1158c8dd ghcjs: mark compiler builds as broken
These builds have been failing for a long time ...
2019-01-29 20:19:54 +01:00
..
8.2 Dont haddock ghcjs in either version 2018-05-16 03:11:32 -04:00
8.4 Bump GHCJS 8.4 2018-11-21 08:04:05 -05:00
common-overrides.nix Dont haddock ghcjs in either version 2018-05-16 03:11:32 -04:00
configured-ghcjs-src.nix pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
default.nix ghcjs: mark compiler builds as broken 2019-01-29 20:19:54 +01:00
ghcjs-base.nix Added ghcjs-base to GHCJS 8.4 / 8.2 2018-07-15 23:47:47 -04:00
mk-stage0.nix
README.md Update readme with --compiler option for GHCJS 2018-07-16 01:14:55 -04:00

New build system for GHCJS 8.2

ghcjs-8.2 reworked the build system, and now comes with its own small package set of dependencies. This involves autogenerating several sources and cabal files, based on a GHC checkout. callCabal2nix is off limits, since we don't like "import from derivation" in nixpkgs. So there is a derivation that builds the nix expression that should be checked in whenever GHCJS is updated.

Updating

$ nix-prefetch-git https://github.com/ghcjs/ghcjs --rev refs/heads/ghc-8.4 \
  | jq '{ url, rev, fetchSubmodules, sha256 }' \
  > 8.4/git.json
$ cat $(nix-build ../../../.. -A haskell.compiler.ghcjs82.genStage0 --no-out-link) > 8.4/stage0.nix
$ cabal2nix --compiler ghcjs git://github.com/ghcjs/ghcjs-base > ghcjs-base.nix