diff options
| author | Josh Tilles | 2014-09-08 15:26:47 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-09-08 16:08:02 -0500 |
| commit | 4a0e7211c4de8b01dbc0756f753c16b7ba2e77cb (patch) | |
| tree | 1a6e242aed48dbffcfc8bcafd6e712ee4e422a34 /Library/Formula | |
| parent | 91bc4f2199edf9240f27887453cb9ded5c8160be (diff) | |
| download | homebrew-4a0e7211c4de8b01dbc0756f753c16b7ba2e77cb.tar.bz2 | |
cabal-install: Anticipate and fix GHC 7.8 bug.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/cabal-install.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Formula/cabal-install.rb b/Library/Formula/cabal-install.rb index 7b1036dd9..6d6e0cc62 100644 --- a/Library/Formula/cabal-install.rb +++ b/Library/Formula/cabal-install.rb @@ -4,6 +4,7 @@ class CabalInstall < Formula homepage "http://www.haskell.org/haskellwiki/Cabal-Install" url "http://hackage.haskell.org/package/cabal-install-1.20.0.3/cabal-install-1.20.0.3.tar.gz" sha1 "444448b0f704420e329e8fc1989b6743c1c8546d" + revision 1 bottle do cellar :any @@ -25,6 +26,10 @@ class CabalInstall < Formula inreplace "bootstrap.sh", "list --global", "list --global --no-user-package-db" + # Avoid a nasty bug in Cabal by forcing the bootstrap script to pull a later version. + # (q.v. https://github.com/haskell/cabal/issues/1740) + inreplace "bootstrap.sh", 'CABAL_VER="1.20.0.0";', 'CABAL_VER="1.20.0.2";' + system "sh", "bootstrap.sh" bin.install "bin/cabal" bash_completion.install "bash-completion/cabal" |
