diff options
| author | Miëtek Bak | 2015-12-23 13:19:14 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2015-12-25 21:05:28 +0000 |
| commit | 68361be36c52a88c40b3795d8565ce91f4c19714 (patch) | |
| tree | fc34ce3df54ece89c76532175736c3e63064d529 /Library/Homebrew/patch.rb | |
| parent | 0f86677ffc34b2b79f53eeb85b3d167f98e27e30 (diff) | |
| download | brew-68361be36c52a88c40b3795d8565ce91f4c19714.tar.bz2 | |
Improve Haskell language support
Removes the need to call setup_ghc_compilers in every Haskell language
formula, by automatically calling fails_with.
Adds a :home option to the cabal_sandbox method. This option allows a
specific temporary HOME to be used instead of the current working
directory, and in turn allows a single Cabal package database to be reused
between multiple calls to this method.
Avoids updating the Cabal package database more than once if cabal_sandbox
is called multiple times.
Removes the need to call cabal_clean_lib whenever cabal_sandbox is called,
by automatically cleaning the lib directory.
Adds a :keep_lib option to the cabal_sandbox method. This option allows
opting out of the automatic cleaning.
Ensures build products are always removed from the current working
directory.
Removes a workaround for versions of cabal-install older than 1.20.0.0.
Adds a cabal_sandbox_add_source method.
Adds a :using option to the install_cabal_package method. This option
allows specifying the Haskell language tools that are required to install
a particular formula, and in turn allows formulae to be simplified by
replacing calls to multiple methods with a single call to this method.
Allows customizing the call to install_cabal_package by giving a block.
Removes empty method shells.
Closes Homebrew/homebrew#47293.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Homebrew/patch.rb')
0 files changed, 0 insertions, 0 deletions
