diff options
Diffstat (limited to 'compiler/nimpaths.nim')
-rw-r--r-- | compiler/nimpaths.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/nimpaths.nim b/compiler/nimpaths.nim index c6e188289..3756f956b 100644 --- a/compiler/nimpaths.nim +++ b/compiler/nimpaths.nim @@ -9,7 +9,7 @@ specialpaths is simpler because it doesn't need variables to be relocatable at runtime (eg for use in testament) interpolation variables: - $nimr: such that `$nimr/lib/system.nim` exists (avoids confusion with $nim binary) +: $nimr: such that `$nimr/lib/system.nim` exists (avoids confusion with $nim binary) in compiler, it's obtainable via getPrefixDir(); for other tools (eg koch), this could be getCurrentDir() or getAppFilename().parentDir.parentDir, depending on use case |