diff --git a/compiler/extccomp.nim b/compiler/extccomp.nim index 18a81ca967..5a1d33adea 100644 --- a/compiler/extccomp.nim +++ b/compiler/extccomp.nim @@ -969,7 +969,7 @@ proc writeJsonBuildInstructions*(conf: ConfigRef) = var buf = newStringOfCap(50) - let jsonFile = conf.nimcacheDir / RelativeFile(conf.projectName & ".json") + let jsonFile = conf.getNimcacheDir / RelativeFile(conf.projectName & ".json") var f: File if open(f, jsonFile.string, fmWrite):