1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs synced 2024-10-19 03:47:13 -04:00
nixpkgs/pkgs/build-support
Peter Simons dd13aa9c94 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
2013-02-18 12:32:15 +01:00
..
buildenv buildEnv: don't warn about collisions in propagated packages 2012-07-25 23:18:39 -04:00
builder-defs Remove unnecessary parentheses around if conditions 2012-12-28 19:54:15 +01:00
cabal pkgs/build-support/cabal: add 'enableSplitObjs' field to enable/disable object splitting 2013-02-18 12:32:15 +01:00
checker Remove unnecessary parentheses around if conditions 2012-12-28 19:54:15 +01:00
clang-wrapper Rename hostDrv -> crossDrv, buildDrv -> nativeDrv 2012-12-28 19:08:19 +01:00
dotnetenv
fetchbzr
fetchcvs
fetchdarcs Remove deprecated option --ephemeral from fetchdarcs 2012-10-22 15:02:33 +02:00
fetchfile
fetchgit Handle invalid references 2012-06-20 23:28:53 -04:00
fetchgitrevision
fetchhg Remove unnecessary parentheses around if conditions 2012-12-28 19:54:15 +01:00
fetchmtn Rename buildNativeInputs -> nativeBuildInputs 2012-12-28 19:20:09 +01:00
fetchsvn
fetchsvnrevision
fetchsvnssh
fetchurl Merge remote-tracking branch 'origin/master' into stdenv-updates 2013-02-15 13:36:34 +01:00
gcc-cross-wrapper Merge branch 'stdenv-updates' into pi-stdenv-updates 2012-12-28 20:14:01 +00:00
gcc-wrapper Merge branch 'stdenv-updates' into pi-stdenv-updates 2012-12-29 14:18:43 +00:00
kernel Rename buildNativeInputs -> nativeBuildInputs 2012-12-28 19:20:09 +01:00
make-desktopitem
make-startupitem
make-symlinks
mono-dll-fixer
native-darwin-cctools-wrapper
nuke-references
release releaseTools.nixBuild: Support builds with multiple outputs 2013-02-13 13:54:32 +01:00
setup-hooks Rename buildNativeInputs -> nativeBuildInputs 2012-12-28 19:20:09 +01:00
src-only
substitute
upstream-updater More specific tracing of a relatively tricky replace once; account for default.nix being present everywhere. 2012-12-22 14:14:48 +04:00
vm VM builds: Use BusyBox 2012-12-18 16:57:11 +01:00
vsenv
replace-dependency.nix replace-dependency: Eelco has ruled, lowerCamelCase > dash-case :( 2013-01-13 11:15:01 -05:00
source-from-head-fun.nix Remove getConfig helper function 2012-09-19 13:56:56 -04:00
trivial-builders.nix Rename buildNativeInputs -> nativeBuildInputs 2012-12-28 19:20:09 +01:00