Skip to content

Commit

Permalink
fix(nix): Bump HLS@2.7 for GHC-9+
Browse files Browse the repository at this point in the history
  • Loading branch information
sgillespie committed Apr 17, 2024
1 parent 3ac426d commit ab3241f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,11 @@
cabal = "3.10.3.0";
ghcid = "0.8.8";
haskell-language-server = {
src = nixpkgs.haskell-nix.sources."hls-1.10";
src =
if config.compiler-nix-name == "ghc8107" then
nixpkgs.haskell-nix.sources."hls-1.10"
else
nixpkgs.haskell-nix.sources."hls-2.7";
};
};
# Now we use pkgsBuildBuild, to make sure that even in the cross
Expand Down

0 comments on commit ab3241f

Please sign in to comment.