haskell.compiler.ghc822Binary: use default llvm version on aarch64

This commit is contained in:
Luka Blaskovic 2020-01-18 17:54:57 +00:00 committed by worldofpeace
parent cba2e83255
commit f6160bc6eb

View File

@ -1,5 +1,5 @@
{ stdenv, substituteAll
, fetchurl, perl, gcc, llvm_39
, fetchurl, perl, gcc, llvm
, ncurses5, gmp, glibc, libiconv
}:
@ -53,7 +53,7 @@ stdenv.mkDerivation rec {
or (throw "cannot bootstrap GHC on this platform"));
nativeBuildInputs = [ perl ];
buildInputs = stdenv.lib.optionals (stdenv.targetPlatform.isAarch32 || stdenv.targetPlatform.isAarch64) [ llvm_39 ];
buildInputs = stdenv.lib.optionals (stdenv.targetPlatform.isAarch32 || stdenv.targetPlatform.isAarch64) [ llvm ];
# Cannot patchelf beforehand due to relative RPATHs that anticipate
# the final install location/