haskell.packages.ghc923: pin fourmolu to 0.6.0.0
This commit is contained in:
parent
70d95b25b6
commit
3586c258e8
3 changed files with 38 additions and 1 deletions
pkgs/development/haskell-modules
|
@ -206,9 +206,13 @@ self: super: {
|
|||
regex-rure = doDistribute (markUnbroken super.regex-rure);
|
||||
jacinda = doDistribute super.jacinda;
|
||||
some = doJailbreak super.some;
|
||||
fourmolu = super.fourmolu_0_7_0_1;
|
||||
|
||||
# 2022-06-05: this is not the latest version of fourmolu because
|
||||
# hls-fourmolu-plugin 1.0.3.0 doesn‘t support a newer one.
|
||||
fourmolu = super.fourmolu_0_6_0_0;
|
||||
# hls-fourmolu-plugin in this version has a to strict upper bound of fourmolu <= 0.5.0.0
|
||||
hls-fourmolu-plugin = assert super.hls-fourmolu-plugin.version == "1.0.3.0"; doJailbreak super.hls-fourmolu-plugin;
|
||||
|
||||
hls-ormolu-plugin = assert super.hls-ormolu-plugin.version == "1.0.2.1"; doJailbreak super.hls-ormolu-plugin;
|
||||
implicit-hie-cradle = doJailbreak super.implicit-hie-cradle;
|
||||
# 1.3 introduced support for GHC 9.2.x, so when this assert fails, the jailbreak can be removed
|
||||
|
|
|
@ -134,6 +134,7 @@ extra-packages:
|
|||
- hspec-core < 2.8 # 2022-04-07: Needed for tasty-hspec 1.1.6
|
||||
- hspec-discover < 2.8 # 2022-04-07: Needed for tasty-hspec 1.1.6
|
||||
- bower-json == 1.0.0.1 # 2022-05-21: Needed for spago 0.20.9
|
||||
- fourmolu == 0.6.0.0 # 2022-06-05: Last fourmolu version compatible with hls 1.7/ hls-fourmolu-plugin 1.0.3.0
|
||||
|
||||
package-maintainers:
|
||||
abbradar:
|
||||
|
|
|
@ -99389,6 +99389,38 @@ self: {
|
|||
license = lib.licenses.bsd3;
|
||||
}) {};
|
||||
|
||||
"fourmolu_0_6_0_0" = callPackage
|
||||
({ mkDerivation, aeson, ansi-terminal, array, base, bytestring
|
||||
, Cabal, containers, Diff, directory, dlist, exceptions, filepath
|
||||
, ghc-lib-parser, gitrev, hspec, hspec-discover, HsYAML
|
||||
, HsYAML-aeson, mtl, optparse-applicative, path, path-io, syb
|
||||
, temporary, text
|
||||
}:
|
||||
mkDerivation {
|
||||
pname = "fourmolu";
|
||||
version = "0.6.0.0";
|
||||
sha256 = "0yxv3ih2jjnjzdhz31y4a94ly6g3qhddrm3lvflqrb4krk445p67";
|
||||
isLibrary = true;
|
||||
isExecutable = true;
|
||||
libraryHaskellDepends = [
|
||||
aeson ansi-terminal array base bytestring Cabal containers Diff
|
||||
directory dlist exceptions filepath ghc-lib-parser HsYAML
|
||||
HsYAML-aeson mtl syb text
|
||||
];
|
||||
executableHaskellDepends = [
|
||||
base directory filepath ghc-lib-parser gitrev optparse-applicative
|
||||
text
|
||||
];
|
||||
testHaskellDepends = [
|
||||
base containers directory filepath hspec path path-io temporary
|
||||
text
|
||||
];
|
||||
testToolDepends = [ hspec-discover ];
|
||||
description = "A formatter for Haskell source code";
|
||||
license = lib.licenses.bsd3;
|
||||
hydraPlatforms = lib.platforms.none;
|
||||
}) {};
|
||||
|
||||
"fourmolu_0_7_0_1" = callPackage
|
||||
({ mkDerivation, aeson, ansi-terminal, array, base, bytestring
|
||||
, Cabal, containers, Diff, directory, dlist, exceptions, filepath
|
||||
|
|
Loading…
Reference in a new issue