diff options
| author | adelon <22380201+adelon@users.noreply.github.com> | 2024-05-22 16:57:07 +0200 |
|---|---|---|
| committer | adelon <22380201+adelon@users.noreply.github.com> | 2024-05-22 16:57:07 +0200 |
| commit | 477e03817e424c65b6249262804e147dd8e6ac7d (patch) | |
| tree | 6915c3ecc338dd197388864c6f2f9b3ecb04cd47 /source/Api.hs | |
| parent | 9db5125330d293a9ea5eb09daf8198f7d5e18ca9 (diff) | |
Update defaulting for envvar
Diffstat (limited to 'source/Api.hs')
| -rw-r--r-- | source/Api.hs | 2 |
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) |
