Commit Graph

4 Commits

Author SHA1 Message Date
Lei Zhu
8cef7a456a
Support ghc 9.4 for hls-class-plugin (#3258)
* Support ghc 9.4 for hls-class-plugin

* Update support table

* Update test description

* Update nix dependency
2022-10-16 11:56:43 -04:00
Akshay Mankar
4898f5b568
configuration-ghc-94.nix: Fix references to lsp and lsp-types source (#3265)
Co-authored-by: Michael Peyton Jones <me@michaelpj.com>
2022-10-09 10:14:50 +01:00
Guillaume Bouchard
88a1dbbbfb nix: fix nix environment
- Bumped nixpkgs, so that's a true GHC 9.4.2 and not 9.4.0, which was
  failing in cabal which because it was detecting <=9.4.1.
- Fixed GHC 9.4 overrides for dependencies
- Use the "default" GHC environment for tooling in the shell. Hence it
  rebuilds less.
- I introduced a flake for cabal-hashes, hence it can be updated
  automatically (with `nix flake update`) and hence we can use
  `callHackage` for any hackage package.
2022-09-16 10:35:01 +02:00
Guillaume Bouchard
75cfc3aa1e chore: add the nix stuffs for GHC 9.4
I've just added naively the different nix lines. The configuration file
comes from a copy of the one for 9.2.

With that, we can open a shell with `nix develop
.\#haskell-language-server-941-dev` and type `cabal build`.

(cherry picked from commit 48084ab95729d48d470888d8fde807a1d7865860)
2022-09-01 14:47:55 +05:30