aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/language/haskell.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Homebrew/language/haskell.rb b/Library/Homebrew/language/haskell.rb
index c4d964682..97eaaa087 100644
--- a/Library/Homebrew/language/haskell.rb
+++ b/Library/Homebrew/language/haskell.rb
@@ -54,12 +54,12 @@ module Language
rm_rf lib
end
- def install_cabal_package
+ def install_cabal_package args=[]
cabal_sandbox do
# the dependencies are built first and installed locally, and only the
# current package is actually installed in the destination dir
- cabal_install "--only-dependencies"
- cabal_install "--prefix=#{prefix}"
+ cabal_install "--only-dependencies", *args
+ cabal_install "--prefix=#{prefix}", *args
end
cabal_clean_lib
end