From fe295faffebd1449bca076ef54c8b61a7fb136ed Mon Sep 17 00:00:00 2001 From: Max Howell Date: Thu, 13 Sep 2012 16:49:35 -0400 Subject: [PATCH] ghc requires std-env Because it builds a tool (cabal) that uses the same env that built it to build stuff. --- Library/Homebrew/build.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/build.rb b/Library/Homebrew/build.rb index 7072bd2679..77500189bb 100755 --- a/Library/Homebrew/build.rb +++ b/Library/Homebrew/build.rb @@ -76,8 +76,8 @@ end def pre_superenv_hacks f # fontforge needs 10.7 SDK, wine 32 bit, graphviz has mysteriously missing symbols - # and ruby/python etc. create gem/pip that then won't work - stdenvs = %w{fontforge python python3 ruby ruby-enterprise-edition jruby wine graphviz} + # and ruby/python/ghc etc. create gem/pip that then won't work + stdenvs = %w{fontforge python python3 ruby ruby-enterprise-edition jruby wine graphviz ghc} ARGV.unshift '--env=std' if (stdenvs.include?(f.name) or f.recursive_deps.detect{|d| d.name == 'scons' }) and not ARGV.include? '--env=super'