haskell.nix/compiler
Hamish Mackenzie f3ea06dcac
Work around for packages in lts that do not install. (#1437)
For ghc 9.0.2 Haskell.nix will use the `stm`and `filepath` source that came with `ghc` when the version desired matches.  This is because 9.0.2 shipped with packages that differ from the same version in hackage.

`reinstallableLibGhc` is fixed for GHC 8.10 and above.  Rather than including a patch file this works by:

* Setting the `subDir` to the `compiler` directory when building.  That way relative paths to other parts of the `ghc` source tree (outside the `compiler` directory) still work.
* Files that are needed, but generated when `ghc` builds are added from the `generated` output of the ghc derivation.

`nonReinstallablePkgs` is now sorted and deduplicated before it is used (this reduces the chance of rebuilds when the list is refactored).
2022-04-20 15:25:21 +12:00
..
bootstrap Use pkgs.lib instead of stdenv.lib (#1031) 2021-02-11 01:07:16 +13:00
ghc Work around for packages in lts that do not install. (#1437) 2022-04-20 15:25:21 +12:00
ghcjs fix ghcjs (#1311) 2022-01-09 03:11:37 +13:00