Skip to content

Commit

Permalink
Try to force a newer cabal in the travis build
Browse files Browse the repository at this point in the history
This might help with the gtk2hs-buildtools issues that keep coming up.
  • Loading branch information
travitch committed Mar 25, 2017
1 parent 7b6eaab commit 37795a2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .travis.yml
Expand Up @@ -10,6 +10,8 @@ before_install:
- export PATH=$HOME/.local/bin:$PATH
- travis_retry curl -L https://www.stackage.org/stack/linux-x86_64 | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'
- export PATH=/opt/ghc/$GHCVER/bin:$PATH
- stack setup --upgrade-cabal
- stack install gtk2hs-buildtools

addons:
apt:
Expand Down
4 changes: 3 additions & 1 deletion taffybar.cabal
Expand Up @@ -22,7 +22,7 @@ description:

flag network-uri
description: network hack
default: True
default: True

library
default-language: Haskell2010
Expand Down Expand Up @@ -58,6 +58,8 @@ library
multimap >= 1.2.1,
time-units >= 1.0.0,
rate-limit >= 1.1.1

build-depends: gtk2hs-buildtools >= 0.13.1.0 && < 0.14
if flag(network-uri)
build-depends: network-uri >= 2.6 && < 3, network >= 2.6 && < 3
else
Expand Down

0 comments on commit 37795a2

Please sign in to comment.