| Hello, does anyone have experience with building haskell on macOS? This project compiles fine on linux where nix uses gcc by default. it fails on darwin however as the default compiler there is clang.
> /nix/store/q7lf35kha4z40zkmhf3cyipaf7kkk6if-cctools-binutils-darwin-wrapper-1010.6/bin/ld: line 268: 5770 Segmentation fault: 11 /nix/store/qib1l5hjzaycqyw9slc2j127wma1ayix-cctools-binutils-darwin-1010.6/bin/ld "@$responseFile"
> clang-16: error: linker command failed with exit code 139 (use -v to see invocation)
> ghc-9.6.6: `cc' failed in phase `Linker'. (Exit code: 1)
The system has a linux builder vm with nix-darwin enabled but I dont think its related to this error.
|