diff options
author | Drew Hess <src@drewhess.com> | 2018-01-03 15:59:07 -0800 |
---|---|---|
committer | Drew Hess <src@drewhess.com> | 2018-01-03 15:59:07 -0800 |
commit | 8ad5937f90a51e0038bdb5408691255b80f30adb (patch) | |
tree | da14f882201b67c01c81fec78f5f8ec3b31dd3f9 /pkgs/development/compilers/ghc | |
parent | 461139e3fa65583c97abba8e5f41de6550b07488 (diff) | |
download | nixlib-8ad5937f90a51e0038bdb5408691255b80f30adb.tar nixlib-8ad5937f90a51e0038bdb5408691255b80f30adb.tar.gz nixlib-8ad5937f90a51e0038bdb5408691255b80f30adb.tar.bz2 nixlib-8ad5937f90a51e0038bdb5408691255b80f30adb.tar.lz nixlib-8ad5937f90a51e0038bdb5408691255b80f30adb.tar.xz nixlib-8ad5937f90a51e0038bdb5408691255b80f30adb.tar.zst nixlib-8ad5937f90a51e0038bdb5408691255b80f30adb.zip |
ghc: 8.2.2 on armv7l doesn't build without explicit use of ld.gold.
Diffstat (limited to 'pkgs/development/compilers/ghc')
-rw-r--r-- | pkgs/development/compilers/ghc/8.2.2.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/development/compilers/ghc/8.2.2.nix b/pkgs/development/compilers/ghc/8.2.2.nix index fd06afcf9486..5ef71804b570 100644 --- a/pkgs/development/compilers/ghc/8.2.2.nix +++ b/pkgs/development/compilers/ghc/8.2.2.nix @@ -58,6 +58,8 @@ stdenv.mkDerivation (rec { "--with-gmp-includes=${gmp.dev}/include" "--with-gmp-libraries=${gmp.out}/lib" ] ++ stdenv.lib.optional stdenv.isDarwin [ "--with-iconv-includes=${libiconv}/include" "--with-iconv-libraries=${libiconv}/lib" + ] ++ stdenv.lib.optional stdenv.isArm [ + "LD=${stdenv.cc}/bin/ld.gold" ]; # required, because otherwise all symbols from HSffi.o are stripped, and |