Skip to content

Commit f267f6e

Browse files
author
Jaro Reinders
committed
Workaround darwin GHC bug in hls-hlint-plugin
1 parent aa809f0 commit f267f6e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

haskell-language-server.cabal

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -722,6 +722,9 @@ library hls-hlint-plugin
722722
-- https://github.com/ndmitchell/hlint/pull/1594
723723
if !(flag(hlint) && impl(ghc < 9.10))
724724
buildable: False
725+
-- Work around https://gitlab.haskell.org/ghc/ghc/-/issues/24648
726+
if os(darwin)
727+
ghc-options: -optl-Wl,-ld_classic
725728
exposed-modules: Ide.Plugin.Hlint
726729
hs-source-dirs: plugins/hls-hlint-plugin/src
727730
build-depends:

0 commit comments

Comments
 (0)