haskell.packages.ghc923.hlint: reflect 3.4 -> 3.4.1 update
hlint 3.4.1 requires a very specific (and outdated) ghc-lib-parser-ex version which we need to provide.
This commit is contained in:
parent
0133c313c4
commit
fcba3d3e50
4 changed files with 30 additions and 1 deletions
|
@ -2147,6 +2147,14 @@ self: super: {
|
||||||
ghc-lib-parser = super.ghc-lib-parser_9_2_3_20220709;
|
ghc-lib-parser = super.ghc-lib-parser_9_2_3_20220709;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
ghc-lib-parser-ex_9_2_0_4 = super.ghc-lib-parser-ex_9_2_0_4.override {
|
||||||
|
ghc-lib-parser = super.ghc-lib-parser_9_2_3_20220709;
|
||||||
|
};
|
||||||
|
|
||||||
|
hlint_3_4_1 = doDistribute (super.hlint_3_4_1.override {
|
||||||
|
ghc-lib-parser-ex = self.ghc-lib-parser-ex_9_2_0_4;
|
||||||
|
});
|
||||||
|
|
||||||
# To strict bound on hspec
|
# To strict bound on hspec
|
||||||
# https://github.com/dagit/zenc/issues/5
|
# https://github.com/dagit/zenc/issues/5
|
||||||
zenc = doJailbreak super.zenc;
|
zenc = doJailbreak super.zenc;
|
||||||
|
|
|
@ -180,7 +180,7 @@ self: super: {
|
||||||
} super.memory);
|
} super.memory);
|
||||||
|
|
||||||
# Use hlint from git for GHC 9.2.1 support
|
# Use hlint from git for GHC 9.2.1 support
|
||||||
hlint = self.hlint_3_4;
|
hlint = self.hlint_3_4_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;
|
||||||
|
|
|
@ -123,6 +123,7 @@ extra-packages:
|
||||||
- ghc-lib == 8.10.7.* # 2022-02-17: preserve for GHC 8.10.7
|
- ghc-lib == 8.10.7.* # 2022-02-17: preserve for GHC 8.10.7
|
||||||
- ghc-lib-parser == 8.10.7.* # 2022-02-17: preserve for GHC 8.10.7
|
- ghc-lib-parser == 8.10.7.* # 2022-02-17: preserve for GHC 8.10.7
|
||||||
- ghc-lib-parser-ex == 8.10.* # 2022-02-17: preserve for GHC 8.10.7
|
- ghc-lib-parser-ex == 8.10.* # 2022-02-17: preserve for GHC 8.10.7
|
||||||
|
- ghc-lib-parser-ex >= 9.2.0.3 && < 9.2.1 # 2022-07-13: needed by hlint 3.4.1
|
||||||
- doctest == 0.18.* # 2021-11-19: closest to stackage version for GHC 9.*
|
- doctest == 0.18.* # 2021-11-19: closest to stackage version for GHC 9.*
|
||||||
- path == 0.9.0 # 2021-12-03: path version building with stackage genvalidity and GHC 9.0.2
|
- path == 0.9.0 # 2021-12-03: path version building with stackage genvalidity and GHC 9.0.2
|
||||||
- ormolu == 0.2.* # 2022-02-21: For ghc 8.8 and 8.10
|
- ormolu == 0.2.* # 2022-02-21: For ghc 8.8 and 8.10
|
||||||
|
|
|
@ -108182,6 +108182,26 @@ self: {
|
||||||
license = lib.licenses.bsd3;
|
license = lib.licenses.bsd3;
|
||||||
}) {};
|
}) {};
|
||||||
|
|
||||||
|
"ghc-lib-parser-ex_9_2_0_4" = callPackage
|
||||||
|
({ mkDerivation, base, bytestring, containers, directory, extra
|
||||||
|
, filepath, ghc-lib-parser, tasty, tasty-hunit, uniplate
|
||||||
|
}:
|
||||||
|
mkDerivation {
|
||||||
|
pname = "ghc-lib-parser-ex";
|
||||||
|
version = "9.2.0.4";
|
||||||
|
sha256 = "138wkpy7qpdkp07028flab3lwq4b3mns0qcrkfrhclixlz8pi74v";
|
||||||
|
libraryHaskellDepends = [
|
||||||
|
base bytestring containers ghc-lib-parser uniplate
|
||||||
|
];
|
||||||
|
testHaskellDepends = [
|
||||||
|
base directory extra filepath ghc-lib-parser tasty tasty-hunit
|
||||||
|
uniplate
|
||||||
|
];
|
||||||
|
description = "Algorithms on GHC parse trees";
|
||||||
|
license = lib.licenses.bsd3;
|
||||||
|
hydraPlatforms = lib.platforms.none;
|
||||||
|
}) {};
|
||||||
|
|
||||||
"ghc-lib-parser-ex_9_2_1_0" = callPackage
|
"ghc-lib-parser-ex_9_2_1_0" = callPackage
|
||||||
({ mkDerivation, base, bytestring, containers, directory, extra
|
({ mkDerivation, base, bytestring, containers, directory, extra
|
||||||
, filepath, ghc-lib-parser, tasty, tasty-hunit, uniplate
|
, filepath, ghc-lib-parser, tasty, tasty-hunit, uniplate
|
||||||
|
|
Loading…
Reference in a new issue