2019-10-07 01:12:01 +02:00
|
|
|
--- a/compiler/nimconf.nim
|
|
|
|
+++ b/compiler/nimconf.nim
|
2021-06-13 05:48:03 +02:00
|
|
|
@@ -234,7 +234,7 @@
|
2019-10-07 01:12:01 +02:00
|
|
|
# the UNIX way)
|
|
|
|
let p = getPrefixDir(conf)
|
|
|
|
result = p / RelativeDir"config" / filename
|
|
|
|
- when defined(unix):
|
|
|
|
+ when true:
|
|
|
|
if not fileExists(result): result = p / RelativeDir"etc/nim" / filename
|
|
|
|
if not fileExists(result): result = AbsoluteDir"/etc/nim" / filename
|
|
|
|
|