Skip to content

Commit 62a276d

Browse files
haskell.compiler.ghcjs: remove at 8.10.7 (#422342)
2 parents 6cd29a4 + 7b5b5fe commit 62a276d

23 files changed

Lines changed: 66 additions & 1553 deletions

doc/release-notes/rl-2511.section.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,16 @@
4646

4747
- `conduwuit` was removed due to upstream ceasing development and deleting their repository. For existing data, a migration to `matrix-conduit`, `matrix-continuwuity` or `matrix-tuwunel` may be possible.
4848

49+
- The GHCJS 8.10.7, exposed via `haskell.compiler.ghcjs` and `haskell.compiler.ghcjs810`, has been removed. Downstream users should migrate their projects to the new JavaScript backend of GHC proper which can be used via `pkgsCross.ghcjs` from Nixpkgs. Haskell packaging code, like `haskellPackages.mkDerivation`, `ghcWithPackages` and `hoogleWithPackages`, also no longer supports GHCJS.
50+
51+
- The `ghcInfo` and `controlPhases` functions have been removed from `haskell.lib.compose` and `haskell.lib`. They were unused and would return incorrect results.
52+
53+
- Instead of using `controlPhases`, the `doCheck` attribute of derivations can be accessed which is more accurate. `doBenchmark` can't be introspected at the moment.
54+
- To detect cross compilation, the relevant platforms exposed by `stdenv` should be compared instead of using `ghcInfo`.
55+
- Nixpkgs no longer packages any `ghcjs` compiler.
56+
- To find a suitable `nativeGhc`, `buildHaskellPackages` should be used. `ghcInfo` would use `ghc.bootPkgs.ghc` if cross compiling,
57+
and the given `ghc` otherwise. This approach is not recommended since it results in mismatched GHC versions.
58+
4959
- `gnome-keyring` no longer ships with an SSH agent anymore because it has been deprecated upstream. You should use `gcr_4` instead, which provides the same features. More information on why this was done can be found on [the relevant GCR upstream PR](https://gitlab.gnome.org/GNOME/gcr/-/merge_requests/67).
5060

5161
- `stdenv.mkDerivation` and other derivation builders that use it no longer allow the value of `env` to be anything but an attribute set, for the purpose of setting environment variables that are available to the [builder](https://nix.dev/manual/nix/latest/store/derivation/#builder) process. An environment variable called `env` can still be provided by means of `mkDerivation { env.env = ...; }`, though we recommend to use a more specific name than "env".

pkgs/development/compilers/ghcjs/8.10/common-overrides.nix

Lines changed: 0 additions & 42 deletions
This file was deleted.

pkgs/development/compilers/ghcjs/8.10/configured-ghcjs-src.nix

Lines changed: 0 additions & 70 deletions
This file was deleted.

pkgs/development/compilers/ghcjs/8.10/default.nix

Lines changed: 0 additions & 144 deletions
This file was deleted.

pkgs/development/compilers/ghcjs/8.10/generate_host_version.hs

Lines changed: 0 additions & 54 deletions
This file was deleted.

pkgs/development/compilers/ghcjs/8.10/git.json

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)