Permalink
Browse files

ghc requires std-env

Because it builds a tool (cabal) that uses the same env that built it to build stuff.
  • Loading branch information...
1 parent 70df8b2 commit c29eb0800005ffee39fc816badbcb070ccc1d253 @mxcl mxcl committed with Dennis Luxen Sep 13, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 Library/Homebrew/build.rb
View
4 Library/Homebrew/build.rb
@@ -76,8 +76,8 @@ def post_superenv_hacks f
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'

0 comments on commit c29eb08

Please sign in to comment.