cabal-install: use the same compiler (preprocessor) as ghc

This commit is contained in:
Jack Nagel 2014-09-08 15:54:11 -05:00
parent 2b044110aa
commit 0429044b34

View file

@ -17,6 +17,8 @@ class CabalInstall < Formula
conflicts_with "haskell-platform"
fails_with :clang if MacOS.version < :mavericks # Same as ghc.rb
def install
# use a temporary package database instead of ~/.cabal or ~/.ghc
pkg_db = "#{Dir.pwd}/package.conf.d"