nixpkgs/pkgs/development/compilers/ghc
sternenseemann 9a84eb7ec8 haskell.compiler.*: pull in unwrapped bintools for darwin
GHC calls otool on darwin which is contained in the
stdenv.cc.bintools.bintools derivation and thus needs adding to the
runtime PATH of GHC. Since this is toolchain specific technically, we
check for cctools instead of darwin (although I don't know if GHC
or nixpkgs work on macOS without cctools).

This fixes usage of GHC in an environment where otool is not available
and more specifically in stdenvNoCC which is used by writers.writeHaskell.
Resolves #123228.

(cherry picked from commit 118b28a127c79dbae8c513742fbb17f300407a4b)
2021-06-14 12:21:22 +02:00
..
8.6.5-binary.nix Merge pull request #122026 from sternenseemann/ghc-binary-no-aarch64-hydra 2021-05-07 20:15:44 +02:00
8.8.4.nix haskell.compiler.*: pull in unwrapped bintools for darwin 2021-06-14 12:21:22 +02:00
8.10.2-binary.nix Merge pull request #122026 from sternenseemann/ghc-binary-no-aarch64-hydra 2021-05-07 20:15:44 +02:00
8.10.4.nix haskell.compiler.*: pull in unwrapped bintools for darwin 2021-06-14 12:21:22 +02:00
9.0.1.nix haskell.compiler.*: pull in unwrapped bintools for darwin 2021-06-14 12:21:22 +02:00
backport-dylib-command-size-limit.patch ghc: fix dylib load command limits in compiler version 8.x 2018-05-22 10:32:17 +02:00
gcc-clang-wrapper.sh treewide: use ${stdenv.shell} instead of /bin/sh where possible 2019-01-16 20:37:15 +01:00
head.nix haskell.compiler.*: pull in unwrapped bintools for darwin 2021-06-14 12:21:22 +02:00
issue-18549.patch #95747: fix build of GHC 8.10.2 2020-08-18 15:56:45 +02:00
respect-ar-path.patch Fix ar command path in GHC. 2021-02-05 22:54:09 +01:00