From 6758658fe9dec55a5a776c9b3a185fc2699d04c0 Mon Sep 17 00:00:00 2001 From: Hamish Mackenzie Date: Thu, 19 Dec 2024 16:43:40 +1300 Subject: [PATCH] Setting LLVMAS to `llvm-as` did not help --- compiler/ghc/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/compiler/ghc/default.nix b/compiler/ghc/default.nix index 78070e8cf..18782b3be 100644 --- a/compiler/ghc/default.nix +++ b/compiler/ghc/default.nix @@ -463,7 +463,6 @@ stdenv.mkDerivation (rec { '' + lib.optionalString useLLVM '' export LLC="${llvmPackages.llvm}/bin/llc" export OPT="${llvmPackages.llvm}/bin/opt" - export LLVMAS="${llvmPackages.llvm}/bin/llvm-as" '' + lib.optionalString (!stdenv.isDarwin) '' export NIX_LDFLAGS+=" -rpath $out/lib/${targetPrefix}ghc-${ghc-version}" '' + lib.optionalString stdenv.isDarwin ''