Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Commit

Permalink
ghc requires std-env
Browse files Browse the repository at this point in the history
Because it builds a tool (cabal) that uses the same env that built it to build stuff.
  • Loading branch information
mxcl authored and Dennis Luxen committed Sep 17, 2012
1 parent 70df8b2 commit c29eb08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Library/Homebrew/build.rb
Expand Up @@ -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'
Expand Down

0 comments on commit c29eb08

Please sign in to comment.