haskell.compiler.*.hlint: make hlint is built on Hydra for GHC >= 9
This commit is contained in:
parent
9a7068759c
commit
7a6878a956
2 changed files with 15 additions and 13 deletions
|
@ -117,7 +117,7 @@ self: super: {
|
||||||
retry = dontCheck super.retry;
|
retry = dontCheck super.retry;
|
||||||
|
|
||||||
# Hlint needs >= 3.3.4 for ghc 9 support.
|
# 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
|
# 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;
|
ghc-api-compat = doDistribute super.ghc-api-compat_9_0_1;
|
||||||
|
|
|
@ -210,18 +210,20 @@ self: super: {
|
||||||
text-short = dontCheck super.text-short_0_1_4;
|
text-short = dontCheck super.text-short_0_1_4;
|
||||||
|
|
||||||
# Use hlint from git for GHC 9.2.1 support
|
# Use hlint from git for GHC 9.2.1 support
|
||||||
hlint = overrideSrc {
|
hlint = doDistribute (
|
||||||
version = "unstable-2021-12-12";
|
overrideSrc {
|
||||||
src = pkgs.fetchFromGitHub {
|
version = "unstable-2021-12-12";
|
||||||
owner = "ndmitchell";
|
src = pkgs.fetchFromGitHub {
|
||||||
repo = "hlint";
|
owner = "ndmitchell";
|
||||||
rev = "77a9702e10b772a7695c08682cd4f450fd0e9e46";
|
repo = "hlint";
|
||||||
sha256 = "0hpp3iw7m7w2abr8vb86gdz3x6c8lj119zxln933k90ia7bmk8jc";
|
rev = "77a9702e10b772a7695c08682cd4f450fd0e9e46";
|
||||||
};
|
sha256 = "0hpp3iw7m7w2abr8vb86gdz3x6c8lj119zxln933k90ia7bmk8jc";
|
||||||
} (super.hlint_3_3_5.overrideScope (self: super: {
|
};
|
||||||
ghc-lib-parser = self.ghc-lib-parser_9_2_1_20211101;
|
} (super.hlint_3_3_5.overrideScope (self: super: {
|
||||||
ghc-lib-parser-ex = self.ghc-lib-parser-ex_9_2_0_1;
|
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
|
# https://github.com/sjakobi/bsb-http-chunked/issues/38
|
||||||
bsb-http-chunked = dontCheck super.bsb-http-chunked;
|
bsb-http-chunked = dontCheck super.bsb-http-chunked;
|
||||||
|
|
Loading…
Reference in a new issue