diff options
author | Felix Yan <felixonmars@archlinux.org> | 2020-08-24 19:18:43 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-24 13:18:43 +0200 |
commit | 14f943126394b653a6ebac215d5722eb3fe4f6c5 (patch) | |
tree | b0a00a46f1d64f85047cb543beb85792ea882b09 | |
parent | 91a4f1647b8fa4004c135da7c49d5402939fd208 (diff) | |
download | stylish-haskell-14f943126394b653a6ebac215d5722eb3fe4f6c5.tar.gz |
Depend on semigroups only on GHC < 8.0 (#296)
They are not needed on newer GHC.
-rw-r--r-- | stylish-haskell.cabal | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/stylish-haskell.cabal b/stylish-haskell.cabal index 2cbb77e..228cab5 100644 --- a/stylish-haskell.cabal +++ b/stylish-haskell.cabal @@ -63,11 +63,14 @@ Library file-embed >= 0.0.10 && < 0.1, haskell-src-exts >= 1.18 && < 1.24, mtl >= 2.0 && < 2.3, - semigroups >= 0.18 && < 0.20, syb >= 0.3 && < 0.8, text >= 1.2 && < 1.3, HsYAML-aeson >=0.2.0 && < 0.3, HsYAML >=0.2.0 && < 0.3 + + if impl(ghc < 8.0) + Build-depends: + semigroups >= 0.18 && < 0.20 Executable stylish-haskell Ghc-options: -Wall |