@@ -619,13 +619,13 @@ flag retrie
619
619
manual : True
620
620
621
621
common retrie
622
- if flag(retrie)
622
+ if flag(retrie) && impl(ghc < 9.10 )
623
623
build-depends : haskell-language-server :hls-retrie-plugin
624
624
cpp-options : -Dhls_retrie
625
625
626
626
library hls-retrie-plugin
627
627
import : defaults, pedantic, warnings
628
- if !flag(retrie)
628
+ if !( flag(retrie) && impl(ghc < 9.10 ) )
629
629
buildable : False
630
630
exposed-modules : Ide.Plugin.Retrie
631
631
hs-source-dirs : plugins/hls-retrie-plugin/src
@@ -656,7 +656,7 @@ library hls-retrie-plugin
656
656
657
657
test-suite hls-retrie-plugin-tests
658
658
import : defaults, pedantic, test-defaults, warnings
659
- if !flag(retrie)
659
+ if !( flag(retrie) && impl(ghc < 9.10 ) )
660
660
buildable : False
661
661
type : exitcode-stdio-1.0
662
662
hs-source-dirs : plugins/hls-retrie-plugin/test
@@ -687,13 +687,14 @@ flag hlint
687
687
manual : True
688
688
689
689
common hlint
690
- if flag(hlint)
690
+ if flag(hlint) && impl(ghc < 9.10 )
691
691
build-depends : haskell-language-server :hls-hlint-plugin
692
692
cpp-options : -Dhls_hlint
693
693
694
694
library hls-hlint-plugin
695
695
import : defaults, pedantic, warnings
696
- if !flag(hlint)
696
+ -- https://github.com/ndmitchell/hlint/pull/1594
697
+ if !(flag(hlint) && impl(ghc < 9.10 ))
697
698
buildable : False
698
699
exposed-modules : Ide.Plugin.Hlint
699
700
hs-source-dirs : plugins/hls-hlint-plugin/src
@@ -735,7 +736,7 @@ library hls-hlint-plugin
735
736
736
737
test-suite hls-hlint-plugin-tests
737
738
import : defaults, pedantic, test-defaults, warnings
738
- if !flag(hlint)
739
+ if !( flag(hlint) && impl(ghc < 9.10 ) )
739
740
buildable : False
740
741
type : exitcode-stdio-1.0
741
742
hs-source-dirs : plugins/hls-hlint-plugin/test
@@ -919,13 +920,13 @@ flag splice
919
920
manual : True
920
921
921
922
common splice
922
- if flag(splice)
923
+ if flag(splice) && impl(ghc < 9.10 )
923
924
build-depends : haskell-language-server :hls-splice-plugin
924
925
cpp-options : -Dhls_splice
925
926
926
927
library hls-splice-plugin
927
928
import : defaults, pedantic, warnings
928
- if !flag(splice)
929
+ if !( flag(splice) && impl(ghc < 9.10 ) )
929
930
buildable : False
930
931
exposed-modules :
931
932
Ide.Plugin.Splice
@@ -955,7 +956,7 @@ library hls-splice-plugin
955
956
956
957
test-suite hls-splice-plugin-tests
957
958
import : defaults, pedantic, test-defaults, warnings
958
- if !flag(splice)
959
+ if !( flag(splice) && impl(ghc < 9.10 ) )
959
960
buildable : False
960
961
type : exitcode-stdio-1.0
961
962
hs-source-dirs : plugins/hls-splice-plugin/test
@@ -1404,13 +1405,14 @@ flag floskell
1404
1405
manual : True
1405
1406
1406
1407
common floskell
1407
- if flag(floskell)
1408
+ if flag(floskell) && impl(ghc < 9.10 )
1408
1409
build-depends : haskell-language-server :hls-floskell-plugin
1409
1410
cpp-options : -Dhls_floskell
1410
1411
1411
1412
library hls-floskell-plugin
1412
1413
import : defaults, pedantic, warnings
1413
- if !flag(floskell)
1414
+ -- https://github.com/ennocramer/floskell/pull/82
1415
+ if !(flag(floskell) && impl(ghc < 9.10 ))
1414
1416
buildable : False
1415
1417
exposed-modules : Ide.Plugin.Floskell
1416
1418
hs-source-dirs : plugins/hls-floskell-plugin/src
@@ -1426,7 +1428,7 @@ library hls-floskell-plugin
1426
1428
1427
1429
test-suite hls-floskell-plugin-tests
1428
1430
import : defaults, pedantic, test-defaults, warnings
1429
- if !flag(floskell)
1431
+ if !( flag(floskell) && impl(ghc < 9.10 ) )
1430
1432
buildable : False
1431
1433
type : exitcode-stdio-1.0
1432
1434
hs-source-dirs : plugins/hls-floskell-plugin/test
@@ -1560,13 +1562,14 @@ flag stylishHaskell
1560
1562
manual : True
1561
1563
1562
1564
common stylishHaskell
1563
- if flag(stylishHaskell)
1565
+ if flag(stylishHaskell) && impl(ghc < 9.10 )
1564
1566
build-depends : haskell-language-server :hls-stylish-haskell-plugin
1565
1567
cpp-options : -Dhls_stylishHaskell
1566
1568
1567
1569
library hls-stylish-haskell-plugin
1568
1570
import : defaults, pedantic, warnings
1569
- if !flag(stylishHaskell)
1571
+ -- https://github.com/haskell/stylish-haskell/issues/479
1572
+ if !(flag(stylishHaskell) && impl(ghc < 9.10 ))
1570
1573
buildable : False
1571
1574
exposed-modules : Ide.Plugin.StylishHaskell
1572
1575
hs-source-dirs : plugins/hls-stylish-haskell-plugin/src
@@ -1585,7 +1588,7 @@ library hls-stylish-haskell-plugin
1585
1588
1586
1589
test-suite hls-stylish-haskell-plugin-tests
1587
1590
import : defaults, pedantic, test-defaults, warnings
1588
- if !flag(stylishHaskell)
1591
+ if !( flag(stylishHaskell) && impl(ghc < 9.10 ) )
1589
1592
buildable : False
1590
1593
type : exitcode-stdio-1.0
1591
1594
hs-source-dirs : plugins/hls-stylish-haskell-plugin/test
@@ -2027,7 +2030,7 @@ test-suite func-test
2027
2030
if flag(eval)
2028
2031
cpp-options : -Dhls_eval
2029
2032
-- formatters
2030
- if flag(floskell)
2033
+ if flag(floskell) && impl(ghc < 9.10 )
2031
2034
cpp-options : -Dhls_floskell
2032
2035
if flag(fourmolu)
2033
2036
cpp-options : -Dhls_fourmolu
0 commit comments