nixpkgs/pkgs
Judah Jacobson 7131e06214 haskell: work around linker limits on Mac OS X Sierra.
The Sierra linker added a limit on the number of paths that any one
dynamic library (`*.dylib`) can reference.  This causes problems when
a Haskell library has many immediate dependencies (#22810).

We follow a similar fix as GHC/Cabal/Stack: for each derivation,
create a new directory with symlinks to all the dylibs of its immediate
dependencies, and patch its package DB to reference that directory
using the new `dynamic-library-dirs` field.

Note that this change is a no-op for older versions of GHC, i.e., they will
continue to fail on some packages as before.

Also note that this change causes the bootstrapped versions of GHC to be
recompiled, since they depend on `hscolour` which is built by
`generic-builder.nix`.

Tested by building the `stack` binary as described in #22810.
2017-05-05 09:26:58 -07:00
..
applications Merge pull request #25480 from mdaiter/openmvg 2017-05-05 15:58:17 +02:00
build-support Fix documentation of emacsWithPackages 2017-05-02 09:52:04 +12:00
common-updater
data man-pages: 4.09 -> 4.11 2017-05-04 15:56:06 +02:00
desktops luajit: 2.1.0-beta2 -> 2.1.0-beta3 2017-05-02 14:00:45 +02:00
development haskell: work around linker limits on Mac OS X Sierra. 2017-05-05 09:26:58 -07:00
games luajit: 2.1.0-beta2 -> 2.1.0-beta3 2017-05-02 14:00:45 +02:00
misc Merge #24949: desmume: fix mesa+osmesa 2017-05-01 23:55:14 +02:00
os-specific Merge pull request #25478 from zraexy/zraexy-broadcom-bt-firmware 2017-05-04 22:33:06 +01:00
servers emby: 3.2.12 -> 3.2.13.0 2017-05-04 19:36:40 +02:00
shells bash: Remove unnecessary 'Makefile.inc' that is keeping reference to bootstrap-tools 2017-04-26 13:19:51 +03:00
stdenv Merge pull request #25427 from aneeshusa/fix-meta-priority-types 2017-05-02 09:38:32 +02:00
test
tools Merge pull request #25446 from romildo/new.connman-gtk 2017-05-05 00:21:37 +01:00
top-level Merge pull request #25480 from mdaiter/openmvg 2017-05-05 15:58:17 +02:00