Skip to content

Commit 469d8a7

Browse files
author
Jaro Reinders
committed
Put the workaround in the right place
1 parent f267f6e commit 469d8a7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

haskell-language-server.cabal

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -722,9 +722,6 @@ 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
728725
exposed-modules: Ide.Plugin.Hlint
729726
hs-source-dirs: plugins/hls-hlint-plugin/src
730727
build-depends:
@@ -772,6 +769,9 @@ test-suite hls-hlint-plugin-tests
772769
type: exitcode-stdio-1.0
773770
hs-source-dirs: plugins/hls-hlint-plugin/test
774771
main-is: Main.hs
772+
-- Work around https://gitlab.haskell.org/ghc/ghc/-/issues/24648
773+
if os(darwin)
774+
ghc-options: -optl-Wl,-ld_classic
775775
build-depends:
776776
aeson
777777
, base

0 commit comments

Comments
 (0)