We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a20ffc6 commit cfc60fcCopy full SHA for cfc60fc
plugins/hls-fourmolu-plugin/hls-fourmolu-plugin.cabal
@@ -31,7 +31,6 @@ library
31
build-depends:
32
, base >=4.12 && <5
33
, filepath
34
- , fourmolu ^>= 0.9 || ^>= 0.10 || ^>= 0.11 || ^>= 0.12 || ^>= 0.13
35
, ghc
36
, ghc-boot-th
37
, ghcide == 2.1.0.0
@@ -43,6 +42,15 @@ library
43
42
, text
44
, transformers
45
+ if impl(ghc >= 8.10) && impl(ghc < 9.0)
46
+ build-depends: fourmolu ^>= 0.9
47
+ elif impl(ghc >= 9.0) && impl(ghc < 9.2)
48
+ build-depends: fourmolu ^>= 0.11
49
+ elif impl(ghc >= 9.2) && impl(ghc < 9.8)
50
+ build-depends: fourmolu ^>= 0.13
51
+ else
52
+ buildable: false
53
+
54
-- fourmolu 0.9.0 fails to build on Windows CI for reasons unknown
55
if impl(ghc >= 9.2) && os(windows) && impl(ghc < 9.4)
56
build-depends: fourmolu > 0.9.0.0 || < 0.9.0.0
0 commit comments