From 06f78d80a1c76852bf635f80f20e51b227273e69 Mon Sep 17 00:00:00 2001 From: Moritz Angermann Date: Mon, 15 Apr 2024 05:50:58 +0000 Subject: [PATCH] 9.0 use lhs 2.4 --- tool-map.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tool-map.nix b/tool-map.nix index bda8807..1b7fa6f 100644 --- a/tool-map.nix +++ b/tool-map.nix @@ -35,7 +35,9 @@ compiler-nix-name: tool: { # Ideally we should expose this from haskell.nix haskell-language-server = {pkgs, ...}: rec { # Use the github source of HLS that is tested with haskell.nix CI - src = { "ghc8107" = pkgs.haskell-nix.sources."hls-2.2"; }.${compiler-nix-name} or pkgs.haskell-nix.sources."hls-2.6"; + src = { "ghc8107" = pkgs.haskell-nix.sources."hls-2.2"; + "ghc902" = pkgs.haskell-nix.sources."hls-2.4"; + }.${compiler-nix-name} or pkgs.haskell-nix.sources."hls-2.6"; # `tool` normally ignores the `cabal.project` (if there is one in the hackage source). # We need to use the github one (since it has settings to make hls build). cabalProject = __readFile (src + "/cabal.project");