git.iko.soy/typeable/nixpkgs
on master help sign in
ghc821-binary: disable ld override w/musl

Fixes conftest failure that I believe ends up using the wrong dynamic linker.

commitb4c91a3e1ab5b9065a317b6387abdaa093e5bf11 authorWill Dietz <w@wdtz.org> dateWed 11 Jul 2018, 06:26 (8 years ago) parent4a1d311
1 file changed+2−1
pkgs/development/compilers/ghc/8.2.1-binary.nix+2−1
pkgs/development/compilers/ghc/8.2.1-binary.nix+2−1
@@ -113,7 +113,8 @@ stdenv.mkDerivation rec {
113113 configureFlags = [
114114 "--with-gmp-libraries=${stdenv.lib.getLib gmp}/lib"
115115 "--with-gmp-includes=${stdenv.lib.getDev gmp}/include"
116− ] ++ stdenv.lib.optional stdenv.isDarwin "--with-gcc=${./gcc-clang-wrapper.sh}";
116+ ] ++ stdenv.lib.optional stdenv.isDarwin "--with-gcc=${./gcc-clang-wrapper.sh}"
117+ ++ stdenv.lib.optional stdenv.hostPlatform.isMusl "--disable-ld-override";
117118
118119 # Stripping combined with patchelf breaks the executables (they die
119120 # with a segfault or the kernel even refuses the execve). (NIXPKGS-85)