13 Commits

Author SHA1 Message Date
Teo Camarasu 4952abb034 Add GHC-9.2.6 (#1842)
* Add GHC-9.2.6

* More ghc 9.2.6 changes

* ifdLevel 0

* ifdLevel 1

* More aarch64 materialization

* Add spdx 3.19 materialization

* ifdLevel 2

* Remaining materialization files

* ifdLevel 3

* More materialization

---------

Co-authored-by: Hamish Mackenzie <Hamish.K.Mackenzie@gmail.com>
2023-02-15 12:24:04 +13:00
Peter Becich e83ef3d9da support GHC 9.4.4 (#1822)
* GHC 9.4.4

* Add materialized dummy-ghc/ghc-9.4.4-x86_64-linux

* More ghc 9.4.4 changes

* Add materialized files

* Fix typo

Co-authored-by: Teo Camarasu <teofilcamarasu@gmail.com>
Co-authored-by: Hamish Mackenzie <Hamish.K.Mackenzie@gmail.com>
2023-01-25 09:58:19 +13:00
Hamish Mackenzie 7573eb34f6 Fix ghc 9.4.3 TH support (#1814) 2023-01-24 11:12:44 +13:00
Hamish Mackenzie 6c992eacf6 Use hadrian to build ghc 9.4 (#1475)
Adds GHC 9.4 and uses hadrian to build it.

This also updates the way iserv-proxy and remote-iserv are built as they now have their own package and gitlab repo.

Co-authored-by: Moritz Angermann <moritz.angermann@gmail.com>
2022-12-08 15:01:05 +13:00
Hamish Mackenzie cbf1e918b6 Add ghc 9.2.5 (#1779)
* Add ghc 9.2.5

* More materialization updates

* More materialization updates

* More materialization updates

* Remaining materialization changes

* Fix ghcjs cabal materialization issue
2022-11-15 17:12:14 +13:00
Hamish Mackenzie c2f14344f1 Add ghc 9.2.4 (#1566) 2022-07-31 21:41:50 +12:00
Hamish Mackenzie a443611ecf Add evalSystem and evalPackages project args (#1546)
This adds a way to specify the `evalSystem` or `evalPackages` explicitly when calling the `project` functions.

Currently if we want to make a `flake` that supports multiple systems we have few options:

* Require builders for all the supported systems (even just for `nix flake show`).

* Pass `--impure` so that haskell.nix can see `builtins.currentSystem` to set up `pkgs.evalPackages` to use that.  Unfortunately this prevents nix from caching some of the work it does and often results in it recalculating for each supported system when it would otherwise be cached and take no time at all.

* Add an overlay to replace `evalPackages`.  This works, but it is not straight forward.

* Materialize the nix files for the project.

This change allows `evalSystem = "x86_64-linux";` to be passed telling `haskell.nix` to run `cabal` and `nix-tools` on that system.  The user will have to have a builder for that system, but does not need to have builders for the others (unless building outputs for them).
2022-07-28 20:03:05 +12:00
Hamish Mackenzie fa2fa131fe Add ghc 9.2.3 (#1491)
Also:

* Updates the GHC's built on CI
* Use Cabal 3.6.2.0 for default Setup
* Fixes haskell-language-server and hlint on CI
2022-06-01 19:33:58 +12:00
Hamish Mackenzie fa2d8a9b6f Add ghc 9.2.2 (#1394) 2022-03-08 14:34:04 +13:00
Hamish Mackenzie 11284e3fcb Skip dwarf version of ghc 9.2.1 on hydra (#1333)
See #1332
2022-01-05 03:12:21 +13:00
Hamish Mackenzie 24b421cbfc Add ghc 9.2.1 and update internal cabal to 3.6.2 (#1286) 2021-11-13 12:43:04 +13:00
Hamish Mackenzie a59be5c421 Add GHC 9.0.1 (#1032)
Also refactors the way tests are filtered to use `meta.disabled` where possible.
2021-03-28 21:03:20 +13:00
Hamish Mackenzie bab2eaea62 Enable debug info on linux targets (#1050)
* Add `.debug` to build any component with DWARF dugug info on linux
  (ghc >=8.10.2).
* Pass `enableDWARF` to `shellFor` for to get a shell where all the
  components are the `.debug` ones.
2021-02-22 18:27:36 +13:00