aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/compat.rb1
-rw-r--r--Library/Homebrew/compat/language/haskell.rb10
2 files changed, 11 insertions, 0 deletions
diff --git a/Library/Homebrew/compat.rb b/Library/Homebrew/compat.rb
index b20e8049c..19c92a523 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 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