aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/compat/language/haskell.rb
diff options
context:
space:
mode:
authorMike McQuaid2016-01-26 09:45:47 +0000
committerMike McQuaid2016-01-26 11:49:15 +0000
commitc2a928eb51e872661281dbf3b0cd54f07797bc40 (patch)
treea2787dfacdde8f37baa763d9cd886c8f146cb8fa /Library/Homebrew/compat/language/haskell.rb
parent21924396f0cb6fe2f93572549c34d02a89ed5d78 (diff)
downloadbrew-c2a928eb51e872661281dbf3b0cd54f07797bc40.tar.bz2
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>
Diffstat (limited to 'Library/Homebrew/compat/language/haskell.rb')
-rw-r--r--Library/Homebrew/compat/language/haskell.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/Library/Homebrew/compat/language/haskell.rb b/Library/Homebrew/compat/language/haskell.rb
new file mode 100644
index 000000000..8d1b3772e
--- /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