mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 04:02:55 +03:00
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.
This commit is contained in:
parent
856f6c2aea
commit
fcd895afb3
@ -88,7 +88,7 @@
|
|||||||
jailbreak = false;
|
jailbreak = false;
|
||||||
|
|
||||||
# pass the '--enable-split-objs' flag to cabal in the configure stage
|
# 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
|
# pass the '--enable-tests' flag to cabal in the configure stage
|
||||||
# and run any regression test suites the package might have
|
# and run any regression test suites the package might have
|
||||||
|
Loading…
Reference in New Issue
Block a user