File tree 3 files changed +14
-17
lines changed
3 files changed +14
-17
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,6 @@ library
71
71
hiedb == 0.4.2. *,
72
72
lsp-types ^>= 1.6.0.0 ,
73
73
lsp ^>= 1.6.0.0 ,
74
- monoid-subclasses,
75
74
mtl,
76
75
optparse-applicative,
77
76
parallel,
@@ -230,6 +229,9 @@ library
230
229
exposed-modules :
231
230
Development.IDE.GHC.Compat.CPP
232
231
232
+ if impl(ghc >= 9 )
233
+ ghc-options : -Wunused-packages
234
+
233
235
if flag(ekg)
234
236
build-depends :
235
237
ekg-wai,
@@ -271,28 +273,15 @@ executable ghcide
271
273
"-with-rtsopts=-I0 -A128M -T"
272
274
main-is : Main.hs
273
275
build-depends :
274
- hiedb,
275
- aeson,
276
276
base == 4. *,
277
277
data-default,
278
- directory,
279
278
extra,
280
- filepath,
281
279
gitrev,
282
- safe-exceptions,
283
- ghc,
284
- hashable,
285
280
lsp,
286
281
lsp-types,
287
- heapsize,
288
- hie-bios,
289
282
hls-plugin-api,
290
283
ghcide,
291
- lens,
292
284
optparse-applicative,
293
- hls-graph,
294
- text,
295
- unordered-containers,
296
285
other-modules :
297
286
Arguments
298
287
Paths_ghcide
@@ -322,6 +311,9 @@ executable ghcide
322
311
ekg-wai,
323
312
ekg-core,
324
313
cpp-options : -DMONITORING_EKG
314
+ if impl(ghc >= 9 )
315
+ ghc-options : -Wunused-packages
316
+
325
317
326
318
test-suite ghcide-tests
327
319
type : exitcode-stdio-1.0
@@ -378,6 +370,8 @@ test-suite ghcide-tests
378
370
record-hasfield
379
371
if impl(ghc < 9.3 )
380
372
build-depends : ghc-typelits-knownnat
373
+ if impl(ghc >= 9 )
374
+ ghc-options : -Wunused-packages
381
375
hs-source-dirs : test/cabal test/exe test/src
382
376
ghc-options : -threaded -Wall -Wno-name-shadowing -O0 -Wno-unticked-promoted-constructors
383
377
main-is : Main.hs
Original file line number Diff line number Diff line change @@ -76,7 +76,6 @@ library
76
76
, js-flot
77
77
, js-jquery
78
78
, list-t
79
- , primitive
80
79
, stm
81
80
, stm-containers
82
81
, time
@@ -91,7 +90,8 @@ library
91
90
template-haskell
92
91
if flag(stm-stats)
93
92
cpp-options : -DSTM_STATS
94
-
93
+ if impl(ghc >= 9 )
94
+ ghc-options : -Wunused-packages
95
95
96
96
ghc-options :
97
97
-Wall -Wredundant-constraints -Wno-name-shadowing
@@ -136,3 +136,5 @@ test-suite tests
136
136
, text
137
137
, unordered-containers
138
138
build-tool-depends : hspec-discover :hspec-discover -any
139
+ if impl(ghc >= 9 )
140
+ ghc-options : -Wunused-packages
Original file line number Diff line number Diff line change @@ -52,7 +52,6 @@ library
52
52
, lsp ^>= 1.6.0.0
53
53
, opentelemetry >= 0.4
54
54
, optparse-applicative
55
- , process
56
55
, regex-tdfa >= 1.3.1.0
57
56
, text
58
57
, transformers
@@ -70,6 +69,8 @@ library
70
69
71
70
if flag(pedantic)
72
71
ghc-options : -Werror
72
+ if impl(ghc >= 9 )
73
+ ghc-options : -Wunused-packages
73
74
74
75
default-language : Haskell2010
75
76
default-extensions :
You can’t perform that action at this time.
0 commit comments