Add Haskell::Cabal#cabal_clean_lib back to compat.

We shouldn't have removed this DSL method without a compat fallback.

Closes Homebrew/homebrew#48479.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
Mike McQuaid 2016-01-26 09:45:47 +00:00
parent 21924396f0
commit c2a928eb51
2 changed files with 11 additions and 0 deletions

View File

@ -10,3 +10,4 @@ require "compat/download_strategy"
require "compat/keg"
require "compat/pathname"
require "compat/dependency_collector"
require "compat/language/haskell"

View File

@ -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