From 7d1bf692db68b6b7639a79a9c426d884bc65cfdd Mon Sep 17 00:00:00 2001 From: Bryan Richter Date: Sat, 8 Jul 2023 10:04:55 +0300 Subject: [PATCH] Make $CONFIGURE work even if $PWD isn't on the path --- ghc.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghc.nix b/ghc.nix index bb3a4e4..59b7d13 100644 --- a/ghc.nix +++ b/ghc.nix @@ -247,7 +247,7 @@ hspkgs.shellFor rec { export GHCPKG=$NIX_GHCPKG export HAPPY=${happy}/bin/happy export ALEX=${alex}/bin/alex - export CONFIGURE=configure + export CONFIGURE=./configure ${lib.optionalString withEMSDK "export EMSDK=${emscripten}"} ${lib.optionalString withEMSDK "export EMSDK_LLVM=${emscripten}/bin/emscripten-llvm"} ${ # prevents sub word sized atomic operations not available issues