1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-15 00:54:46 +00:00
nixpkgs/pkgs/development/compilers/ghcjs-ng
Daniel Schaefer bac4d95aa2 treewide: Change URLs to HTTPS
Lots of URLs were HTTP redirect to HTTPS. Changed those and checked them
if there's actual content. Inspired by
https://github.com/NixOS/nixpkgs/issues/60004
2019-04-22 10:19:54 +02:00
..
8.4 treewide: update homepages to https where available 2019-04-15 10:10:05 -04:00
8.6 treewide: update homepages to https where available 2019-04-15 10:10:05 -04:00
common-overrides.nix ghcjs-ng: unbreak 2019-03-23 22:47:06 -04:00
configured-ghcjs-src.nix GHCJS: Add 8.6 2019-01-30 03:22:59 -05:00
default.nix ghcjs-ng: unbreak 2019-03-23 22:47:06 -04:00
ghcjs-base.nix treewide: Change URLs to HTTPS 2019-04-22 10:19:54 +02:00
mk-stage0.nix
README.md

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