summaryrefslogtreecommitdiff
path: root/Biz/Bild/Deps.hs
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2023-09-21 22:30:17 -0400
committerBen Sima <ben@bsima.me>2023-10-03 21:33:37 -0400
commit4226cbd8020253b010fb44d395db12efe68e1272 (patch)
tree4ee121a0cf26098b1cec1feed24c2cdd8e036562 /Biz/Bild/Deps.hs
parentdbdf4da2576f889544a33ce0bad4b8a5ff3eca87 (diff)
Rename BIZ_ROOT to CODEROOT
BIZ_ROOT was too specific. CODEROOT allows for other (non-biz) projects to live in the root of the repo. I didn't want to call it GIT_ROOT because maybe someday I won't want to use git. But I'll never not use code.
Diffstat (limited to 'Biz/Bild/Deps.hs')
-rw-r--r--Biz/Bild/Deps.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Biz/Bild/Deps.hs b/Biz/Bild/Deps.hs
index 17aae0d..08e3ee6 100644
--- a/Biz/Bild/Deps.hs
+++ b/Biz/Bild/Deps.hs
@@ -47,7 +47,7 @@ instance MonadUnliftIO NIO where
getFindSourcesJson :: NIO FindSourcesJson
-- getFindSourcesJson = ask
getFindSourcesJson = do
- root <- li <| getEnv "BIZ_ROOT"
+ root <- li <| getEnv "CODEROOT"
pure <| AtPath <| root </> "Biz/Bild/Sources.json"
li :: MonadIO io => IO a -> io a