Skip to content

Commit a95c355

Browse files
Suppress -Wmissing-deriving-strategies for cabal-doctest.
1 parent ffd4fd9 commit a95c355

File tree

4 files changed

+12
-2
lines changed

4 files changed

+12
-2
lines changed

packages/foldable-utils/package.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ tests:
4545
- "-Wno-missing-import-lists"
4646
#TODO: file a bug about this, too
4747
- "-Wno-missing-export-lists"
48+
- condition: "impl(ghc >= 8.8)"
49+
ghc-options:
50+
- "-Wno-missing-deriving-strategies"
4851
dependencies:
4952
#https://github.com/phadej/cabal-doctest/issues/19
5053
q4c12-foldable-utils:

packages/foldable-utils/q4c12-foldable-utils.cabal

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ cabal-version: 2.2
44
--
55
-- see: https://github.com/sol/hpack
66
--
7-
-- hash: 4a4ae422ed5bac88244890f0e7747fc061c2b858aaa31174d03f99ad0bd4fa1c
7+
-- hash: da4bda9c2d042a5f4107f66916cc1e4016b8c5108332828ad0df95e7c6e0b9a8
88

99
name: q4c12-foldable-utils
1010
version: 0
@@ -52,4 +52,6 @@ test-suite doctests
5252
, q4c12-foldable-utils
5353
if true
5454
ghc-options: -Wno-missing-import-lists -Wno-missing-export-lists
55+
if impl(ghc >= 8.8)
56+
ghc-options: -Wno-missing-deriving-strategies
5557
default-language: Haskell2010

packages/twofinger/package.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,9 @@ tests:
7474
- "-Wno-missing-import-lists"
7575
#TODO: file a but about this, too
7676
- "-Wno-missing-export-lists"
77+
- condition: "impl(ghc >= 8.8)"
78+
ghc-options:
79+
- "-Wno-missing-deriving-strategies"
7780
dependencies:
7881
#https://github.com/phadej/cabal-doctest/issues/19
7982
q4c12-twofinger:

packages/twofinger/q4c12-twofinger.cabal

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ cabal-version: 2.2
44
--
55
-- see: https://github.com/sol/hpack
66
--
7-
-- hash: ea6d8c46791a738a697f486e64ba0963994a16da8189ba0fdaa773f9b27f468b
7+
-- hash: ad72006784114c15a8992624d5dec4d36605209132061180060329d24a74eaab
88

99
name: q4c12-twofinger
1010
version: 0.2.0.1
@@ -66,6 +66,8 @@ test-suite doctests
6666
, q4c12-twofinger
6767
if true
6868
ghc-options: -Wno-missing-import-lists -Wno-missing-export-lists
69+
if impl(ghc >= 8.8)
70+
ghc-options: -Wno-missing-deriving-strategies
6971
default-language: Haskell2010
7072

7173
test-suite properties

0 commit comments

Comments
 (0)