Skip to content

Commit

Permalink
hsyslog.cabal: move build-depend into the conditional to fix build wi…
Browse files Browse the repository at this point in the history
…th older Cabal versions

haskell-CI/haskell-ci#81 (comment)
  • Loading branch information
peti committed May 29, 2017
1 parent d3e3069 commit 60385e6
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions hsyslog.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ description:

custom-setup
setup-depends: base >= 4 && <5,
Cabal >= 1.24,
Cabal,
cabal-doctest >= 1 && <1.1

source-repository head
Expand Down Expand Up @@ -65,12 +65,12 @@ test-suite doctests
default-language: Haskell2010

executable hsyslog-example
main-is: Main.hs
hs-source-dirs: example
build-depends: base, hsyslog, bytestring
main-is: Main.hs
hs-source-dirs: example
if flag(install-examples)
buildable: True
other-extensions: TypeSynonymInstances, FlexibleInstances
buildable: True
build-depends: base, hsyslog, bytestring
other-extensions: TypeSynonymInstances, FlexibleInstances
else
buildable: False
default-language: Haskell2010
buildable: False
default-language: Haskell2010

0 comments on commit 60385e6

Please sign in to comment.