Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 7131e06214560625cc85b89d93df3764d223a6e6
      
https://github.com/NixOS/nixpkgs/commit/7131e06214560625cc85b89d93df3764d223a6e6
  Author: Judah Jacobson <ju...@users.noreply.github.com>
  Date:   2017-05-05 (Fri, 05 May 2017)

  Changed paths:
    M pkgs/development/haskell-modules/generic-builder.nix
    M pkgs/development/haskell-modules/with-packages-wrapper.nix

  Log Message:
  -----------
  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.


  Commit: 2caa7b88ae52caccac9c1b07c52af0080e9417c3
      
https://github.com/NixOS/nixpkgs/commit/2caa7b88ae52caccac9c1b07c52af0080e9417c3
  Author: Judah Jacobson <ju...@users.noreply.github.com>
  Date:   2017-05-05 (Fri, 05 May 2017)

  Changed paths:
    M pkgs/development/haskell-modules/generic-builder.nix
    M pkgs/development/haskell-modules/with-packages-wrapper.nix

  Log Message:
  -----------
  Fix use of `isDarwin` conditionals.


  Commit: a1748f7b5ccae44501eb30e1e4e9fc2fabbbb0bf
      
https://github.com/NixOS/nixpkgs/commit/a1748f7b5ccae44501eb30e1e4e9fc2fabbbb0bf
  Author: Shea Levy <s...@shealevy.com>
  Date:   2017-05-05 (Fri, 05 May 2017)

  Changed paths:
    M pkgs/development/haskell-modules/generic-builder.nix
    M pkgs/development/haskell-modules/with-packages-wrapper.nix

  Log Message:
  -----------
  Merge remote-tracking branch 'takt/sierra-haskell'


Compare: https://github.com/NixOS/nixpkgs/compare/c15a17eb841c...a1748f7b5cca
_______________________________________________
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits

Reply via email to