Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
base: ef06638832a2
Choose a base ref
...
head repository: NixOS/nixpkgs
compare: f2878422ca1d
Choose a head ref
  • 2 commits
  • 2 files changed
  • 1 contributor

Commits on May 5, 2017

  1. 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.
    
    (cherry picked from commit 7131e06)
    judah authored and shlevy committed May 5, 2017
    Configuration menu
    Copy the full SHA
    92ed6cb View commit details
    Browse the repository at this point in the history
  2. Fix use of isDarwin conditionals.

    (cherry picked from commit 2caa7b8)
    judah authored and shlevy committed May 5, 2017
    Configuration menu
    Copy the full SHA
    f287842 View commit details
    Browse the repository at this point in the history