Skip to content

Commit 3423436

Browse files
committed
Added -Wunused-packages to ghc-options
1 parent 98a196d commit 3423436

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

typed-protocols/typed-protocols.cabal

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ common warnings
2525
-Wpartial-fields
2626
-Widentities
2727
-Wredundant-constraints
28+
-Wunused-packages
2829

2930
library
3031
import: warnings
@@ -53,8 +54,6 @@ library cborg
5354
build-depends: base,
5455
bytestring >=0.10 && <0.13,
5556
cborg >=0.2.1 && <0.3,
56-
singletons,
57-
primitive,
5857

5958
io-classes:io-classes,
6059
typed-protocols:typed-protocols
@@ -89,7 +88,6 @@ library stateful-cborg
8988
build-depends: base,
9089
bytestring,
9190
cborg,
92-
singletons,
9391

9492
io-classes:io-classes,
9593
typed-protocols:{typed-protocols,cborg,stateful}
@@ -134,9 +132,9 @@ library examples
134132
singletons,
135133
contra-tracer,
136134
io-classes:{io-classes, si-timers},
137-
network,
138-
time,
139135
typed-protocols:{typed-protocols,cborg,stateful}
136+
if !os(windows)
137+
build-depends: network
140138
hs-source-dirs: examples
141139
default-language: GHC2021
142140
default-extensions: DataKinds

0 commit comments

Comments
 (0)