haskell.compiler.*.hlint: make hlint is built on Hydra for GHC >= 9

This commit is contained in:
sternenseemann 2021-12-21 16:08:13 +01:00 committed by sterni
parent 9a7068759c
commit 7a6878a956
2 changed files with 15 additions and 13 deletions

View file

@ -117,7 +117,7 @@ self: super: {
retry = dontCheck super.retry;
# Hlint needs >= 3.3.4 for ghc 9 support.
hlint = super.hlint_3_3_5;
hlint = doDistribute super.hlint_3_3_5;
# 2021-09-18: ghc-api-compat and ghc-lib-* need >= 9.0.x versions for hls and hlint
ghc-api-compat = doDistribute super.ghc-api-compat_9_0_1;

View file

@ -210,7 +210,8 @@ self: super: {
text-short = dontCheck super.text-short_0_1_4;
# Use hlint from git for GHC 9.2.1 support
hlint = overrideSrc {
hlint = doDistribute (
overrideSrc {
version = "unstable-2021-12-12";
src = pkgs.fetchFromGitHub {
owner = "ndmitchell";
@ -221,7 +222,8 @@ self: super: {
} (super.hlint_3_3_5.overrideScope (self: super: {
ghc-lib-parser = self.ghc-lib-parser_9_2_1_20211101;
ghc-lib-parser-ex = self.ghc-lib-parser-ex_9_2_0_1;
}));
}))
);
# https://github.com/sjakobi/bsb-http-chunked/issues/38
bsb-http-chunked = dontCheck super.bsb-http-chunked;