Skip to content

Commit

Permalink
Changes the order of path so the nim in the deps is prioritized
Browse files Browse the repository at this point in the history
  • Loading branch information
jmgomez committed Jan 16, 2025
1 parent cff3719 commit c223011
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nimble.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit c223011

Please sign in to comment.