summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authoradelon <22380201+adelon@users.noreply.github.com>2024-05-22 16:57:07 +0200
committeradelon <22380201+adelon@users.noreply.github.com>2024-05-22 16:57:07 +0200
commit477e03817e424c65b6249262804e147dd8e6ac7d (patch)
tree6915c3ecc338dd197388864c6f2f9b3ecb04cd47 /source
parent9db5125330d293a9ea5eb09daf8198f7d5e18ca9 (diff)
Update defaulting for envvar
Diffstat (limited to 'source')
-rw-r--r--source/Api.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/Api.hs b/source/Api.hs
index 421a8eb..95d5c8c 100644
--- a/source/Api.hs
+++ b/source/Api.hs
@@ -94,7 +94,7 @@ findAndReadFile path = do
homeDir <- getHomeDirectory
currentDir <- getCurrentDirectory
userLib <- (?? (homeDir </> "formalizations")) <$> lookupEnv "NAPROCHE_LIB"
- srcLib <- (?? (homeDir </> "code/zf/library")) <$> lookupEnv "NAPROCHE_SCR_LIB"
+ srcLib <- (?? (homeDir </> "code/naproche-zf/library")) <$> lookupEnv "NAPROCHE_SCR_LIB"
existsCurrent <- doesFileExist (currentDir </> path)
existsUserLib <- doesFileExist (userLib </> path)