ghc821-binary: disable ld override w/musl

Fixes conftest failure that I believe ends up
using the wrong dynamic linker.
This commit is contained in:
Will Dietz 2018-07-11 06:26:21 -05:00
parent 4a1d311c49
commit b4c91a3e1a

View file

@ -113,7 +113,8 @@ stdenv.mkDerivation rec {
configureFlags = [
"--with-gmp-libraries=${stdenv.lib.getLib gmp}/lib"
"--with-gmp-includes=${stdenv.lib.getDev gmp}/include"
] ++ stdenv.lib.optional stdenv.isDarwin "--with-gcc=${./gcc-clang-wrapper.sh}";
] ++ stdenv.lib.optional stdenv.isDarwin "--with-gcc=${./gcc-clang-wrapper.sh}"
++ stdenv.lib.optional stdenv.hostPlatform.isMusl "--disable-ld-override";
# Stripping combined with patchelf breaks the executables (they die
# with a segfault or the kernel even refuses the execve). (NIXPKGS-85)