summary refs log tree commit diff stats
path: root/compiler/main.nim
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/main.nim')
-rw-r--r--compiler/main.nim1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/main.nim b/compiler/main.nim
index 54dc8cb23..b5f7e8364 100644
--- a/compiler/main.nim
+++ b/compiler/main.nim
@@ -284,6 +284,7 @@ proc mainCommand*(graph: ModuleGraph) =
         (key: "defined_symbols", val: definedSymbols),
         (key: "lib_paths", val: %libpaths),
         (key: "out", val: %conf.outFile.string),
+        (key: "nimcache", val: %getNimcacheDir(conf).string),
         (key: "hints", val: hints),
         (key: "warnings", val: warnings),
       ]