diff options
author | Kaushal Modi <kaushal.modi@gmail.com> | 2018-08-17 04:52:10 -0400 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2018-08-17 10:52:10 +0200 |
commit | d73b19e379bcc96557e0178ff3d4a2a5184c3d43 (patch) | |
tree | e9e57ae993ebca1635020c5addadc317fd7ec871 /compiler | |
parent | ce4383be3b10ba1ff418e5fa000a956be7816e80 (diff) | |
download | Nim-d73b19e379bcc96557e0178ff3d4a2a5184c3d43.tar.gz |
Look for user nim.cfg in "nim/" subdir in usual config dir locations (#8662)
Fixes https://github.com/nim-lang/Nim/issues/8661.
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/nimconf.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/nimconf.nim b/compiler/nimconf.nim index cb7e52cf7..1a8a0acb5 100644 --- a/compiler/nimconf.nim +++ b/compiler/nimconf.nim @@ -220,7 +220,7 @@ proc readConfigFile( return true proc getUserConfigPath(filename: string): string = - result = joinPath(getConfigDir(), filename) + result = joinPath([getConfigDir(), "nim", filename]) proc getSystemConfigPath(conf: ConfigRef; filename: string): string = # try standard configuration file (installation did not distribute files |