Skip to content

Commit 69055be

Browse files
sgillespiekderme
authored andcommitted
Update hlint versions again
Don't fix the hlint version in the devShell, as any given version won't support all of our compilers. Instead we'll let the solver decide on a version, but we'll pin it in the CI check.
1 parent e2ac86f commit 69055be

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

flake.nix

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,12 +81,11 @@
8181

8282
(final: prev: {
8383
hlint = final.haskell-nix.tool "ghc96" "hlint" {
84-
version = "latest";
84+
version = "3.8";
8585
};
8686

87-
# Fourmolu 0.10.x requires GHC >= 9.0 && < 9.6
8887
fourmolu = final.haskell-nix.tool "ghc96" "fourmolu" {
89-
version = "latest";
88+
version = "0.17.0.0";
9089
};
9190
})
9291

@@ -190,7 +189,10 @@
190189
tools = {
191190
cabal = "3.14.2.0";
192191
fourmolu = "0.17.0.0";
193-
hlint = "3.10";
192+
193+
# We'd prefer 3.8, but it won't work on all compilers we support. Instead
194+
# we'll let solver sort it out.
195+
hlint = "latest";
194196

195197
haskell-language-server = {
196198
src = nixpkgs.haskell-nix.sources."hls-2.11";

0 commit comments

Comments
 (0)