From e5929624f2783dca8f3a499e692478e63e565777 Mon Sep 17 00:00:00 2001 From: Sven Tennie Date: Wed, 7 Jun 2023 12:41:16 +0000 Subject: [PATCH] Fixup: llvm derivation path --- ghc.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ghc.nix b/ghc.nix index fa5be3d..2879b8c 100644 --- a/ghc.nix +++ b/ghc.nix @@ -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"