Skip to content

Commit

Permalink
Set LLVMAS
Browse files Browse the repository at this point in the history
  • Loading branch information
hamishmack committed Dec 19, 2024
1 parent 827008f commit 87ac69d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions compiler/ghc/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -463,6 +463,7 @@ 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 ''
Expand Down

0 comments on commit 87ac69d

Please sign in to comment.