Skip to content

Commit

Permalink
postgrest: remove foundation < 0.0.10 constraint
Browse files Browse the repository at this point in the history
since the El Capitan build failure is fixed as of 0.0.11.

Closes #14679.

Signed-off-by: ilovezfs <ilovezfs@icloud.com>
  • Loading branch information
ilovezfs committed Jun 18, 2017
1 parent eae19c0 commit 45ffa3b
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions Formula/postgrest.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ class Postgrest < Formula
homepage "https://github.com/begriffs/postgrest"
url "https://github.com/begriffs/postgrest/archive/v0.4.2.0.tar.gz"
sha256 "9337d8f623a748d789d9a580fb5e5538e225b654eaaad94d5eac8df2cdeaeb5e"
revision 1
head "https://github.com/begriffs/postgrest.git"

bottle do
Expand All @@ -21,14 +22,7 @@ class Postgrest < Formula
depends_on "postgresql"

def install
# Workaround for "error: redefinition of enumerator '_CLOCK_REALTIME'" and
# other similar errors.
# Reported 11 Jun 2017 https://github.com/haskell-foundation/foundation/issues/342
if MacOS.version == :el_capitan
install_cabal_package "--constraint", "foundation < 0.0.10", :using => ["happy"]
else
install_cabal_package :using => ["happy"]
end
install_cabal_package :using => ["happy"]
end

test do
Expand Down

0 comments on commit 45ffa3b

Please sign in to comment.