diff options
author | Peter Simons <simons@cryp.to> | 2013-03-08 13:29:34 +0100 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2013-03-08 13:37:57 +0100 |
commit | fcd895afb30f54c0181885231f9b8f8c256081f0 (patch) | |
tree | 3950d1cb5080d29d8d2408ecefc712811b3ed115 /pkgs/build-support/cabal | |
parent | 856f6c2aea9725809be0bb26e41ec4481b2584e5 (diff) | |
download | nixlib-fcd895afb30f54c0181885231f9b8f8c256081f0.tar nixlib-fcd895afb30f54c0181885231f9b8f8c256081f0.tar.gz nixlib-fcd895afb30f54c0181885231f9b8f8c256081f0.tar.bz2 nixlib-fcd895afb30f54c0181885231f9b8f8c256081f0.tar.lz nixlib-fcd895afb30f54c0181885231f9b8f8c256081f0.tar.xz nixlib-fcd895afb30f54c0181885231f9b8f8c256081f0.tar.zst nixlib-fcd895afb30f54c0181885231f9b8f8c256081f0.zip |
pkgs/build-support/cabal: disable the split objects feature on Darwin by default
According to <http://hackage.haskell.org/trac/ghc/ticket/4013>, this feature won't work with XCode versions older than 3.2. This means that Mac users will have considerably larger binaries because some build-time dependencies (such as HTTP) will be mis-detected as run-time dependencies.
Diffstat (limited to 'pkgs/build-support/cabal')
-rw-r--r-- | pkgs/build-support/cabal/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/build-support/cabal/default.nix b/pkgs/build-support/cabal/default.nix index 334b7e6f2c26..38f2c4c61152 100644 --- a/pkgs/build-support/cabal/default.nix +++ b/pkgs/build-support/cabal/default.nix @@ -88,7 +88,7 @@ jailbreak = false; # pass the '--enable-split-objs' flag to cabal in the configure stage - enableSplitObjs = true; + enableSplitObjs = !stdenv.isDarwin; # http://hackage.haskell.org/trac/ghc/ticket/4013 # pass the '--enable-tests' flag to cabal in the configure stage # and run any regression test suites the package might have |