Haskell: call fails_with on correct object

Fixes Homebrew/homebrew#47533.
This commit is contained in:
Misty De Meo 2015-12-30 15:51:57 -04:00
parent 0bca7ad9c3
commit 21d70a2816

View File

@ -4,7 +4,7 @@ module Language
module Cabal
def self.included(base)
# use llvm-gcc on Lion or below, as when building GHC)
fails_with(:clang) if MacOS.version <= :lion
base.fails_with(:clang) if MacOS.version <= :lion
end
def cabal_sandbox(options = {})