From 469d8a7f302cf77766905177d26e078e39eb9cfb Mon Sep 17 00:00:00 2001 From: Jaro Reinders Date: Wed, 23 Oct 2024 14:36:23 +0200 Subject: [PATCH] Put the workaround in the right place --- haskell-language-server.cabal | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/haskell-language-server.cabal b/haskell-language-server.cabal index 8d75e0cac5..905338c9a8 100644 --- a/haskell-language-server.cabal +++ b/haskell-language-server.cabal @@ -722,9 +722,6 @@ library hls-hlint-plugin -- https://github.com/ndmitchell/hlint/pull/1594 if !(flag(hlint) && impl(ghc < 9.10)) buildable: False - -- Work around https://gitlab.haskell.org/ghc/ghc/-/issues/24648 - if os(darwin) - ghc-options: -optl-Wl,-ld_classic exposed-modules: Ide.Plugin.Hlint hs-source-dirs: plugins/hls-hlint-plugin/src build-depends: @@ -772,6 +769,9 @@ test-suite hls-hlint-plugin-tests type: exitcode-stdio-1.0 hs-source-dirs: plugins/hls-hlint-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-depends: aeson , base