From 15922ce97c224e872f77184ab7b48c67f2a8be89 Mon Sep 17 00:00:00 2001 From: Pepe Iborra Date: Tue, 13 Dec 2022 22:57:36 +0100 Subject: [PATCH] Workaround fourmolu 0.9.0.0 build failure in windows --- plugins/hls-fourmolu-plugin/hls-fourmolu-plugin.cabal | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/hls-fourmolu-plugin/hls-fourmolu-plugin.cabal b/plugins/hls-fourmolu-plugin/hls-fourmolu-plugin.cabal index e6dc991f81c..c161454b4bb 100644 --- a/plugins/hls-fourmolu-plugin/hls-fourmolu-plugin.cabal +++ b/plugins/hls-fourmolu-plugin/hls-fourmolu-plugin.cabal @@ -45,6 +45,9 @@ library , process-extras >= 0.7.1 , text + -- fourmolu 0.9.0 fails to build on Windows CI for reasons unknown + if impl(ghc >= 9.2) && os(windows) && impl(ghc < 9.4) + build-depends: fourmolu > 0.9.0.0 || < 0.9.0.0 default-language: Haskell2010 test-suite tests