Skip to content

Commit 14f9431

Browse files
authored
Depend on semigroups only on GHC < 8.0 (#296)
They are not needed on newer GHC.
1 parent 91a4f16 commit 14f9431

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

stylish-haskell.cabal

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,14 @@ Library
6363
file-embed >= 0.0.10 && < 0.1,
6464
haskell-src-exts >= 1.18 && < 1.24,
6565
mtl >= 2.0 && < 2.3,
66-
semigroups >= 0.18 && < 0.20,
6766
syb >= 0.3 && < 0.8,
6867
text >= 1.2 && < 1.3,
6968
HsYAML-aeson >=0.2.0 && < 0.3,
7069
HsYAML >=0.2.0 && < 0.3
70+
71+
if impl(ghc < 8.0)
72+
Build-depends:
73+
semigroups >= 0.18 && < 0.20
7174

7275
Executable stylish-haskell
7376
Ghc-options: -Wall

0 commit comments

Comments
 (0)