diff --git a/compiler/vmops.nim b/compiler/vmops.nim index ef36419a70f6e..54b2877e72af2 100644 --- a/compiler/vmops.nim +++ b/compiler/vmops.nim @@ -112,7 +112,7 @@ when defined(nimHasInvariant): of arguments: result = conf.arguments of outFile: result = conf.outFile.string of outDir: result = conf.outDir.string - of nimcacheDir: result = conf.nimcacheDir.string + of nimcacheDir: result = conf.getNimcacheDir().string of projectName: result = conf.projectName of projectPath: result = conf.projectPath.string of projectFull: result = conf.projectFull.string