diff options
author | Peter Simons <simons@cryp.to> | 2013-02-18 12:32:15 +0100 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2013-02-18 12:32:15 +0100 |
commit | dd13aa9c94e6bdaadbc712099b827356b220108a (patch) | |
tree | bdfca3c7be191f6e5bb919d78119fcd7f0efdd4d /pkgs/applications/networking/instant-messengers/psi | |
parent | 499451850110a54648ed12d3b790ebc23664c815 (diff) |
pkgs/build-support/cabal: add 'enableSplitObjs' field to enable/disable object splitting
This patch configures all Cabal builds with '--enable-split-objs' unless the Nix expression explicitly sets "enableSplitObjs = false". The Cabal manual [1] describes this option as follows: | The GHC -split-objs reduces the final size of the executables that use the | library by allowing them to link with only the bits that they use rather | than the entire library. The downside is that building the library takes | longer and uses considerably more memory. One immediate benefit of this change is that the 'darcs' closure defined in the top-level no longer refers to GHC. The same is probably true with other executable packages. [1] http://www.haskell.org/cabal/users-guide/installing-packages.html#setup-configure
Diffstat (limited to 'pkgs/applications/networking/instant-messengers/psi')
0 files changed, 0 insertions, 0 deletions