File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
plugins/hls-fourmolu-plugin Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,6 @@ library
3131 build-depends :
3232 , base >= 4.12 && < 5
3333 , filepath
34- , fourmolu ^>= 0.9 || ^>= 0.10 || ^>= 0.11 || ^>= 0.12 || ^>= 0.13
3534 , ghc
3635 , ghc-boot-th
3736 , ghcide == 2.1.0.0
@@ -43,6 +42,15 @@ library
4342 , text
4443 , transformers
4544
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+
4654 -- fourmolu 0.9.0 fails to build on Windows CI for reasons unknown
4755 if impl(ghc >= 9.2 ) && os(windows) && impl(ghc < 9.4 )
4856 build-depends : fourmolu > 0.9.0.0 || < 0.9.0.0
You can’t perform that action at this time.
0 commit comments