diff --git a/cabal.project b/cabal.project index faa94671f8..d33e73eb41 100644 --- a/cabal.project +++ b/cabal.project @@ -7,7 +7,7 @@ packages: ./hls-plugin-api ./hls-test-utils -index-state: 2024-06-07T00:00:00Z +index-state: 2024-06-10T12:08:58Z tests: True test-show-details: direct diff --git a/haskell-language-server.cabal b/haskell-language-server.cabal index a28467e634..0902f35fc4 100644 --- a/haskell-language-server.cabal +++ b/haskell-language-server.cabal @@ -1486,6 +1486,9 @@ test-suite hls-fourmolu-plugin-tests type: exitcode-stdio-1.0 hs-source-dirs: plugins/hls-fourmolu-plugin/test main-is: Main.hs + -- Work around https://gitlab.haskell.org/ghc/ghc/-/issues/24648 + if os(darwin) + ghc-options: -optl-Wl,-ld_classic build-tool-depends: fourmolu:fourmolu build-depends: @@ -1539,6 +1542,9 @@ test-suite hls-ormolu-plugin-tests type: exitcode-stdio-1.0 hs-source-dirs: plugins/hls-ormolu-plugin/test main-is: Main.hs + -- Work around https://gitlab.haskell.org/ghc/ghc/-/issues/24648 + if os(darwin) + ghc-options: -optl-Wl,-ld_classic build-tool-depends: ormolu:ormolu build-depends: