diff --git a/src/nimble.nim b/src/nimble.nim index ba1c3f83..7f557a4c 100644 --- a/src/nimble.nim +++ b/src/nimble.nim @@ -2260,7 +2260,7 @@ proc getAlteredPath(options: Options): string = paths.add folder paths.reverse let parentDir = options.nimBin.get.path.parentDir - result = fmt "{parentDir}{separator}{paths.join(separator)}{separator}{getEnv(\"PATH\")}" + result = fmt "{paths.join(separator)}{separator}{parentDir}{separator}{getEnv(\"PATH\")}" proc shellenv(options: var Options) = setVerbosity(SilentPriority)