Closed pikajude closed 9 years ago
In addition to the obvious error, this stands out:
: Warning: Couldn't figure out LLVM version! Make sure you have installed LLVM ghc: could not execute: opt failed to compile
@shlevy the LLVM warning is expected as GHC is not built with LLVM support in nixpkgs.
Further analysis shows that ghc-cabal
prints this error for not just haddock, but any binary it tries to execute, including ld
within the clang-wrapper tree.
@joelteon pull my latest darwin-sandbox and try rebuilding your ghc with that. I just spent the past several hours tracking it down and am going to bed, but this should fix it. Happy to explain what was wrong at some point, but a hint is in the big comment I added in my latest nix commit.
(please close this issue if my change fixes it for you)
@joelteon left the thing to compile overnight and got what seems to be a working ghc out of it (haskellPackages.lens
is now chugging along)
@joelteon this is fixed now, right?
@joelteon ping
Getting the sense that this is fixed