diff options
Diffstat (limited to 'src/main.nim')
-rw-r--r-- | src/main.nim | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main.nim b/src/main.nim index f730de5e..ede2f5b8 100644 --- a/src/main.nim +++ b/src/main.nim @@ -1,10 +1,14 @@ import version import server/forkserver +import config/chapath +from std/os import getEnv, putEnv, commandLineParams, getCurrentDir +from types/opt import get + +putEnv("CHA_LIBEXEC_DIR", ChaPath"${%CHA_LIBEXEC_DIR}".unquote().get) let forks = newForkServer() import std/options -import std/os import config/config import io/serversocket |