We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
LLVMAS
CC
1 parent 6758658 commit 09bc75dCopy full SHA for 09bc75d
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="${targetCC}/bin/${targetCC.targetPrefix}cc"
467
'' + lib.optionalString (!stdenv.isDarwin) ''
468
export NIX_LDFLAGS+=" -rpath $out/lib/${targetPrefix}ghc-${ghc-version}"
469
'' + lib.optionalString stdenv.isDarwin ''
0 commit comments