We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
LLVMAS
1 parent 827008f commit 87ac69dCopy full SHA for 87ac69d
compiler/ghc/default.nix
@@ -463,6 +463,7 @@ stdenv.mkDerivation (rec {
463
'' + lib.optionalString useLLVM ''
464
export LLC="${llvmPackages.llvm}/bin/llc"
465
export OPT="${llvmPackages.llvm}/bin/opt"
466
+ export LLVMAS="${llvmPackages.llvm}/bin/llvm-as"
467
'' + lib.optionalString (!stdenv.isDarwin) ''
468
export NIX_LDFLAGS+=" -rpath $out/lib/${targetPrefix}ghc-${ghc-version}"
469
'' + lib.optionalString stdenv.isDarwin ''
0 commit comments