nixpkgs/pkgs/development/compilers/ghcjs-ng
Jonathan Ringer 9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08:00
..
8.6 remove unnecessary imports in ghcjs-ng/8.6/dep-overrides.nix 2020-08-24 10:41:11 -07:00
common-overrides.nix haskell.compiler.ghcjs86: Bump ghc-8.6 branch, fix build. 2019-09-22 13:43:08 +02:00
configured-ghcjs-src.nix ghcjs-ng: The GHC source should be configured with native build inputs 2019-11-24 23:08:47 +00:00
default.nix treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix 2021-01-19 01:16:25 -08:00
ghcjs-base.nix treewide: Change URLs to HTTPS 2019-04-22 10:19:54 +02: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