Skip to content

Commit c9f126d

Browse files
committed
Fix build with stack
1 parent 5224a19 commit c9f126d

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

haskell-language-server.cabal

+5-3
Original file line numberDiff line numberDiff line change
@@ -389,9 +389,6 @@ library hls-eval-plugin
389389
, unliftio
390390
, unordered-containers
391391

392-
if flag(pedantic)
393-
ghc-options: -Wwarn=redundant-constraints
394-
395392
default-extensions:
396393
DataKinds
397394

@@ -1683,6 +1680,11 @@ library
16831680

16841681
default-extensions: DataKinds
16851682

1683+
if flag(pedantic)
1684+
ghc-options:
1685+
--See Note [unused-packages]
1686+
-Wwarn=unused-packages
1687+
16861688
executable haskell-language-server
16871689
import: defaults
16881690
, warnings

0 commit comments

Comments
 (0)