diff --git a/Library/Homebrew/compat.rb b/Library/Homebrew/compat.rb index b20e8049c2..19c92a5236 100644 --- a/Library/Homebrew/compat.rb +++ b/Library/Homebrew/compat.rb @@ -10,3 +10,4 @@ require "compat/download_strategy" require "compat/keg" require "compat/pathname" require "compat/dependency_collector" +require "compat/language/haskell" diff --git a/Library/Homebrew/compat/language/haskell.rb b/Library/Homebrew/compat/language/haskell.rb new file mode 100644 index 0000000000..8d1b3772e9 --- /dev/null +++ b/Library/Homebrew/compat/language/haskell.rb @@ -0,0 +1,10 @@ +module Language + module Haskell + module Cabal + def cabal_clean_lib + # avoid installing any Haskell libraries, as a matter of policy + rm_rf lib + end + end + end +end