Skip to content

Commit

Permalink
Fixup: llvm derivation path
Browse files Browse the repository at this point in the history
  • Loading branch information
supersven committed Jun 7, 2023
1 parent a284d25 commit e592962
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ghc.nix
Original file line number Diff line number Diff line change
Expand Up @@ -248,8 +248,8 @@ hspkgs.shellFor rec {
chmod u+rwX -R .emscripten_cache
export EM_CACHE=.emscripten_cache
''}
${lib.optionalString withLlvm "export LLC=${llvmForGhc}/bin/llc"}
${lib.optionalString withLlvm "export OPT=${llvmForGhc}/bin/opt"}
${lib.optionalString withLlvm "export LLC=${llvmForGhc.llvm}/bin/llc"}
${lib.optionalString withLlvm "export OPT=${llvmForGhc.llvm}/bin/opt"}
# "nix-shell --pure" resets LANG to POSIX, this breaks "make TAGS".
export LANG="en_US.UTF-8"
Expand Down

0 comments on commit e592962

Please sign in to comment.