diff --git a/src/nimph/config.nim b/src/nimph/config.nim index 55567cf..31d5cf1 100644 --- a/src/nimph/config.nim +++ b/src/nimph/config.nim @@ -110,6 +110,7 @@ var proc findPrefixDir(): AbsoluteDir = ## determine the prefix directory for the current compiler if compilerPrefixDir.isEmpty: + debug "find prefix" let compiler = runSomething("nim", @["--hints:off", @@ -127,6 +128,7 @@ proc findPrefixDir(): AbsoluteDir = except KeyError: warn "couldn't parse the prefix directory from `nim dump` output" compilerPrefixDir = AbsoluteDir parentDir(findExe"nim") + debug "found prefix" result = compilerPrefixDir proc loadAllCfgs*(directory: string): ConfigRef =