fixes #8599
This commit is contained in:
parent
404de2f23e
commit
ba6601b149
2 changed files with 2 additions and 2 deletions
|
|
@ -482,7 +482,7 @@ include packagehandling
|
|||
|
||||
proc getOsCacheDir(): string =
|
||||
when defined(posix):
|
||||
result = string getEnv("XDG_CACHE_HOME", getHomeDir() / ".cache")
|
||||
result = getEnv("XDG_CACHE_HOME", getHomeDir() / ".cache") / "nim"
|
||||
else:
|
||||
result = getHomeDir() / genSubDir
|
||||
|
||||
|
|
|
|||
|
|
@ -159,7 +159,7 @@ Generated C code directory
|
|||
The generated files that Nim produces all go into a subdirectory called
|
||||
``nimcache``. Its full path is
|
||||
|
||||
- ``$XDG_CACHE_HOME/$projectname(_r|_d)`` or ``~/.cache/$projectname(_r|_d)``
|
||||
- ``$XDG_CACHE_HOME/nim/$projectname(_r|_d)`` or ``~/.cache/nim/$projectname(_r|_d)``
|
||||
on Posix
|
||||
- ``$HOME/nimcache/$projectname(_r|_d)`` on Windows.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue