fixes bootstrapping problems

This commit is contained in:
Araq 2018-09-07 14:07:42 +02:00
commit e06a89e112
3 changed files with 3 additions and 3 deletions

View file

@ -514,7 +514,7 @@ proc getOsCacheDir(): string =
when defined(posix):
result = getEnv("XDG_CACHE_HOME", getHomeDir() / ".cache") / "nim"
else:
result = getHomeDir() / genSubDir
result = getHomeDir() / genSubDir.string
proc getNimcacheDir*(conf: ConfigRef): AbsoluteDir =
# XXX projectName should always be without a file extension!