From acee865bcf0131c10ed475b435af802ffe8dceee Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Fri, 4 Aug 2023 09:44:35 -0400 Subject: Set BIZ_ROOT in nix builder --- Biz/Bild.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Biz/Bild.hs') diff --git a/Biz/Bild.hs b/Biz/Bild.hs index 58a1b9c..cf471fe 100644 --- a/Biz/Bild.hs +++ b/Biz/Bild.hs @@ -467,13 +467,13 @@ analyze hmap ns = case Map.lookup ns hmap of packageSet = "ghcWith", compilerFlags = [ "-Werror", - "-i$src", + "-i$BIZ_ROOT", "-odir", ".", "-hidir", ".", "--make", - "$src" path + "$BIZ_ROOT" path ] ++ case out of Meta.Bin o -> -- cgit v1.2.3